Commit 62d16e51 authored by Phil Hughes's avatar Phil Hughes

Updated tests to not look for flash message

parent 472fe597
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
= label_tag :global_notification_level, "Global notification level", class: "label-light" = label_tag :global_notification_level, "Global notification level", class: "label-light"
%br %br
.clearfix .clearfix
.form-group.pull-left .form-group.pull-left.global-notification-setting
= render 'shared/notifications/button', notification_setting: @global_notification_setting, left_align: true = render 'shared/notifications/button', notification_setting: @global_notification_setting, left_align: true
.clearfix .clearfix
......
...@@ -15,8 +15,6 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps ...@@ -15,8 +15,6 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
end end
step 'I should see Notification saved message' do step 'I should see Notification saved message' do
page.within '.flash-container' do expect(page).to have_content 'On mention'
expect(page).to have_content 'Notification settings saved'
end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment