update unlock spec

This commit is contained in:
Brenda Wallace
2019-06-25 08:57:37 +12:00
parent 5dc4c4fcde
commit 191a3940d7

View File

@@ -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