Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-17 06:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-17 06:09:00 +0300
commit56201db1dc66f3a2d598f6f8da0bec170dc26ba1 (patch)
tree8317b0a17c76866b981b497b13786dadceee5abf /spec/controllers/profiles
parentce2a803dc413f289352deecbf2cfd32896c8b2ef (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r--spec/controllers/profiles/notifications_controller_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/controllers/profiles/notifications_controller_spec.rb b/spec/controllers/profiles/notifications_controller_spec.rb
index ba85c781a93..47d6f11fecf 100644
--- a/spec/controllers/profiles/notifications_controller_spec.rb
+++ b/spec/controllers/profiles/notifications_controller_spec.rb
@@ -22,8 +22,9 @@ describe Profiles::NotificationsController do
end
context 'with groups that do not have notification preferences' do
- set(:group) { create(:group) }
- set(:subgroup) { create(:group, parent: group) }
+ let_it_be(:group) { create(:group) }
+ let_it_be(:subgroup) { create(:group, parent: group) }
+
before do
group.add_developer(user)
end