Method: RSpec::Matchers#with_file_field

Defined in:
lib/rspec2-rails-views-matchers.rb

- (Object) with_file_field(name)



341
342
343
344
# File 'lib/rspec2-rails-views-matchers.rb', line 341

def with_file_field name
  options = { :with => { :name => name, :type => 'file' } }
  should_have_input(options)
end

Comments