diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 18:09:37 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-12 18:09:37 +0300 |
commit | 2c89e169769ead722394a79ed67fcd08e96863dd (patch) | |
tree | 0dadb576846c484475b895f75fab41f71cdb952e /spec/models/guest_spec.rb | |
parent | bd497e352ebd279536ae11855871162e82a3f88c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/guest_spec.rb')
-rw-r--r-- | spec/models/guest_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/guest_spec.rb b/spec/models/guest_spec.rb index 93862e98172..57eb077031c 100644 --- a/spec/models/guest_spec.rb +++ b/spec/models/guest_spec.rb @@ -3,9 +3,9 @@ require 'spec_helper' describe Guest do - set(:public_project) { create(:project, :public) } - set(:private_project) { create(:project, :private) } - set(:internal_project) { create(:project, :internal) } + let_it_be(:public_project, reload: true) { create(:project, :public) } + let_it_be(:private_project) { create(:project, :private) } + let_it_be(:internal_project) { create(:project, :internal) } describe '.can_pull?' do context 'when project is private' do |