Method: RSpec::Matchers#with_password_field

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

- (Object) with_password_field(name)



331
332
333
334
# File 'lib/rspec2-rails-views-matchers.rb', line 331

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

Comments