Method: RSpec::Matchers#with_submit

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

#with_submit(value) ⇒ Object



455
456
457
458
# File 'lib/rspec2-rails-views-matchers.rb', line 455

def with_submit value
  options = { :with => { :type => 'submit', :value => value } }
  should_have_input(options)
end

Comments