summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_visits_notifications_tab_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/profiles/user_visits_notifications_tab_spec.rb')
-rw-r--r--spec/features/profiles/user_visits_notifications_tab_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/user_visits_notifications_tab_spec.rb b/spec/features/profiles/user_visits_notifications_tab_spec.rb
index 1952fdae798..95953fbcfac 100644
--- a/spec/features/profiles/user_visits_notifications_tab_spec.rb
+++ b/spec/features/profiles/user_visits_notifications_tab_spec.rb
@@ -16,6 +16,6 @@ feature 'User visits the notifications tab', :js do
first('#notifications-button').click
click_link('On mention')
- expect(page).to have_content('On mention')
+ expect(page).to have_selector('#notifications-button', text: 'On mention')
end
end