From aa2e2cacb46485eae1356ba9cf684bbf2bb41d42 Mon Sep 17 00:00:00 2001 From: Riccardo Padovani Date: Thu, 15 Jun 2017 11:38:12 +0000 Subject: Update test to use single quotes and Four-Phase test conventions --- spec/views/profiles/show.html.haml_spec.rb | 5 +++-- 1 file 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 -- cgit v1.2.1