debian-mirror-gitlab/features/steps/profile/notifications.rb

21 lines
531 B
Ruby
Raw Normal View History

2015-04-26 12:48:37 +05:30
class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
2014-09-02 18:07:02 +05:30
include SharedAuthentication
include SharedProject
step 'I visit profile notifications page' do
visit profile_notifications_path
end
step 'I should see global notifications settings' do
2015-09-11 14:41:01 +05:30
expect(page).to have_content "Notifications"
2014-09-02 18:07:02 +05:30
end
2016-06-02 11:05:42 +05:30
step 'I select Mention setting from dropdown' do
2018-03-17 18:26:18 +05:30
first(:link, "On mention").click
2016-06-02 11:05:42 +05:30
end
step 'I should see Notification saved message' do
2016-06-22 15:30:34 +05:30
expect(page).to have_content 'On mention'
2016-06-02 11:05:42 +05:30
end
2014-09-02 18:07:02 +05:30
end