summaryrefslogtreecommitdiff
path: root/spec/features/user_callout_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/user_callout_spec.rb')
-rw-r--r--spec/features/user_callout_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/user_callout_spec.rb b/spec/features/user_callout_spec.rb
index 53a87d3c224..336c4092c98 100644
--- a/spec/features/user_callout_spec.rb
+++ b/spec/features/user_callout_spec.rb
@@ -30,7 +30,7 @@ describe 'User Callouts', js: true do
it 'hides the user callout when click on the dismiss icon' do
visit user_path(user)
within('.user-callout') do
- find('.dismiss-icon').click
+ find('.close-user-callout').click
end
expect(page).not_to have_selector('#user-callout')
end