diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-26 21:09:24 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-26 21:09:24 +0300 |
commit | 619d0b6922a6cf95d291fbbf5fa3d09e772a1ea8 (patch) | |
tree | fb8f8e036cec1b32166206bb5102af6c5dca8cfe /spec/features/dashboard | |
parent | 17ab40ca089e1aef61a83f77ab6df62a72f6ce06 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r-- | spec/features/dashboard/root_explore_spec.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/dashboard/root_explore_spec.rb b/spec/features/dashboard/root_explore_spec.rb index 5b686d8b6f1..0e065dbed67 100644 --- a/spec/features/dashboard/root_explore_spec.rb +++ b/spec/features/dashboard/root_explore_spec.rb @@ -3,17 +3,17 @@ require 'spec_helper' describe 'Root explore' do - set(:public_project) { create(:project, :public) } - set(:archived_project) { create(:project, :archived) } - set(:internal_project) { create(:project, :internal) } - set(:private_project) { create(:project, :private) } + let_it_be(:public_project) { create(:project, :public) } + let_it_be(:archived_project) { create(:project, :archived) } + let_it_be(:internal_project) { create(:project, :internal) } + let_it_be(:private_project) { create(:project, :private) } before do allow(Gitlab).to receive(:com?).and_return(true) end context 'when logged in' do - set(:user) { create(:user) } + let_it_be(:user) { create(:user) } before do sign_in(user) |