summaryrefslogtreecommitdiff
path: root/spec/views/profiles/show.html.haml_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views/profiles/show.html.haml_spec.rb')
-rw-r--r--spec/views/profiles/show.html.haml_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/profiles/show.html.haml_spec.rb b/spec/views/profiles/show.html.haml_spec.rb
index e89a8cb9626..9e7ac0b84fa 100644
--- a/spec/views/profiles/show.html.haml_spec.rb
+++ b/spec/views/profiles/show.html.haml_spec.rb
@@ -12,8 +12,8 @@ describe 'profiles/show' 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', with: user.name)
+ expect(rendered).to have_field('user_id', with: user.id)
end
end
end