summaryrefslogtreecommitdiff
path: root/features/steps/profile/notifications.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/profile/notifications.rb')
-rw-r--r--features/steps/profile/notifications.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/features/steps/profile/notifications.rb b/features/steps/profile/notifications.rb
index a96f35ada51..7e339443b75 100644
--- a/features/steps/profile/notifications.rb
+++ b/features/steps/profile/notifications.rb
@@ -11,12 +11,10 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
end
step 'I select Mention setting from dropdown' do
- select 'mention', from: 'notification_setting_level'
+ first(:link, "On mention").trigger('click')
end
step 'I should see Notification saved message' do
- page.within '.flash-container' do
- expect(page).to have_content 'Notification settings saved'
- end
+ expect(page).to have_content 'On mention'
end
end