Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Padovani <riccardo@rpadovani.com>2017-06-15 14:38:12 +0300
committerRiccardo Padovani <riccardo@rpadovani.com>2017-06-15 14:38:12 +0300
commitaa2e2cacb46485eae1356ba9cf684bbf2bb41d42 (patch)
tree4736fead39ac8d2483a8fc1ee94ebe35d15dd8cc /spec/views/profiles
parent08141295614fb607e2ba46d20be4e40de0bf6216 (diff)
Update test to use single quotes and Four-Phase test conventions
Diffstat (limited to 'spec/views/profiles')
-rw-r--r--spec/views/profiles/show.html.haml_spec.rb5
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