diff options
-rw-r--r-- | spec/views/profiles/show.html.haml_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/views/profiles/show.html.haml_spec.rb b/spec/views/profiles/show.html.haml_spec.rb index 497e31be141..e89a8cb9626 100644 --- a/spec/views/profiles/show.html.haml_spec.rb +++ b/spec/views/profiles/show.html.haml_spec.rb @@ -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 |