Updated tests to not look for flash message
This commit is contained in:
parent
472fe597e0
commit
62d16e515f
2 changed files with 2 additions and 4 deletions
|
@ -28,7 +28,7 @@
|
|||
= label_tag :global_notification_level, "Global notification level", class: "label-light"
|
||||
%br
|
||||
.clearfix
|
||||
.form-group.pull-left
|
||||
.form-group.pull-left.global-notification-setting
|
||||
= render 'shared/notifications/button', notification_setting: @global_notification_setting, left_align: true
|
||||
|
||||
.clearfix
|
||||
|
|
|
@ -15,8 +15,6 @@ class Spinach::Features::ProfileNotifications < Spinach::FeatureSteps
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue