Commit aa2e2cac authored by Riccardo Padovani's avatar Riccardo Padovani

Update test to use single quotes and Four-Phase test conventions

parent 08141295
......@@ -11,8 +11,9 @@ describe 'profiles/show' do
context 'when the profile page is opened' do
it 'displays the correct elements' do
render
expect(rendered).to have_field("user_name", user.name)
expect(rendered).to have_field("user_id", user.id)
expect(rendered).to have_field('user_name', user.name)
expect(rendered).to have_field('user_id', user.id)
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment