Fixed profile notifications not being editable

Closes #44198
This commit is contained in:
Phil Hughes 2018-03-16 16:51:03 +00:00
parent 78fb81e686
commit 1c74f5595f
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,7 @@
import NotificationsForm from '../../../../notifications_form';
import notificationsDropdown from '../../../../notifications_dropdown';
document.addEventListener('DOMContentLoaded', () => {
new NotificationsForm(); // eslint-disable-line no-new
notificationsDropdown();
});

View file

@ -16,6 +16,6 @@ feature 'User visits the notifications tab', :js do
first('#notifications-button').click
click_link('On mention')
expect(page).to have_content('On mention')
expect(page).to have_selector('#notifications-button', text: 'On mention')
end
end