diff --git a/spec/views/devise/unlocks/new_spec.rb b/spec/views/devise/unlocks/new_spec.rb index c9b5d401d..68666532f 100644 --- a/spec/views/devise/unlocks/new_spec.rb +++ b/spec/views/devise/unlocks/new_spec.rb @@ -10,8 +10,7 @@ describe 'devise/unlocks/new.html.haml', type: "view" do render end - it 'has some fields' do - expect(rendered).to have_content 'Email' - end + it { expect(rendered).to have_field 'Email' } + it { expect(rendered).to have_content 'Resend unlock instructions' } end end