diff options
Diffstat (limited to 'spec/views/admin/sessions/new.html.haml_spec.rb')
-rw-r--r-- | spec/views/admin/sessions/new.html.haml_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/admin/sessions/new.html.haml_spec.rb b/spec/views/admin/sessions/new.html.haml_spec.rb index b3208296c80..05601e5471e 100644 --- a/spec/views/admin/sessions/new.html.haml_spec.rb +++ b/spec/views/admin/sessions/new.html.haml_spec.rb @@ -15,7 +15,7 @@ describe 'admin/sessions/new.html.haml' do render expect(rendered).to have_css('#login-pane.active') - expect(rendered).to have_selector('input[name="password"]') + expect(rendered).to have_selector('input[name="user[password]"]') end it 'warns authentication not possible if password not set' do |