diff options
Diffstat (limited to 'spec/features/groups/group_settings_spec.rb')
-rw-r--r-- | spec/features/groups/group_settings_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/groups/group_settings_spec.rb b/spec/features/groups/group_settings_spec.rb index a248a2b471a..0437e5df6e9 100644 --- a/spec/features/groups/group_settings_spec.rb +++ b/spec/features/groups/group_settings_spec.rb @@ -329,7 +329,7 @@ RSpec.describe 'Edit group settings', feature_category: :groups_and_projects do end def updated_emails_disabled? - group.reload.clear_memoization(:emails_disabled_memoized) + group.reload.clear_memoization(:emails_enabled_memoized) group.emails_disabled? end end |