diff options
Diffstat (limited to 'spec/features/profiles/user_visits_notifications_tab_spec.rb')
-rw-r--r-- | spec/features/profiles/user_visits_notifications_tab_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/user_visits_notifications_tab_spec.rb b/spec/features/profiles/user_visits_notifications_tab_spec.rb index 1295a0b6150..7d858e3c92c 100644 --- a/spec/features/profiles/user_visits_notifications_tab_spec.rb +++ b/spec/features/profiles/user_visits_notifications_tab_spec.rb @@ -30,7 +30,7 @@ RSpec.describe 'User visits the notifications tab', :js, feature_category: :user end context 'when project emails are disabled' do - let(:project) { create(:project, emails_disabled: true) } + let_it_be(:project) { create(:project, emails_enabled: false) } it 'notification button is disabled' do expect(page).to have_selector('[data-testid="notification-dropdown"] .disabled') |