diff options
Diffstat (limited to 'features/steps/profile/notifications.rb')
-rw-r--r-- | features/steps/profile/notifications.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/features/steps/profile/notifications.rb b/features/steps/profile/notifications.rb index 447ea6d9d10..979f4692d5a 100644 --- a/features/steps/profile/notifications.rb +++ b/features/steps/profile/notifications.rb @@ -9,4 +9,14 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps step 'I should see global notifications settings' do expect(page).to have_content "Notifications" end + + step 'I select Mention setting from dropdown' do + 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 + end end |