diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 06:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 06:08:49 +0300 |
commit | a8c82a6395ed62380b9061a26d92e41d46c2877e (patch) | |
tree | bd8ab49ac11104ad9ae953afd4c5e0036fdddaa2 /spec/tasks/gitlab | |
parent | 0b881f91159cc97ccb7328a2e52977a60ea83fbe (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tasks/gitlab')
-rw-r--r-- | spec/tasks/gitlab/web_hook_rake_spec.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/spec/tasks/gitlab/web_hook_rake_spec.rb b/spec/tasks/gitlab/web_hook_rake_spec.rb index be31507000d..ee3c7e034f3 100644 --- a/spec/tasks/gitlab/web_hook_rake_spec.rb +++ b/spec/tasks/gitlab/web_hook_rake_spec.rb @@ -3,11 +3,10 @@ require 'rake_helper' describe 'gitlab:web_hook namespace rake tasks' do - set(:group) { create(:group) } - - set(:project1) { create(:project, namespace: group) } - set(:project2) { create(:project, namespace: group) } - set(:other_group_project) { create(:project) } + let_it_be(:group, refind: true) { create(:group) } + let_it_be(:project1, reload: true) { create(:project, namespace: group) } + let_it_be(:project2, reload: true) { create(:project, namespace: group) } + let_it_be(:other_group_project, reload: true) { create(:project) } let(:url) { 'http://example.com' } let(:hook_urls) { (project1.hooks + project2.hooks).map(&:url) } |