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-09-11 15:08:50 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-11 15:08:50 +0300
commit0eaa82ad61d2fda42b2dd5cf58cc08654b2d69ef (patch)
tree9ab5c60316dd689e0ac53830fd3910817006c9b3 /spec/frontend/fixtures/search.rb
parent6b5f961bef87c70effe57b14d41f9ed882b5d296 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/fixtures/search.rb')
-rw-r--r--spec/frontend/fixtures/search.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/search.rb b/spec/frontend/fixtures/search.rb
index fcd68662acc..40f613a9422 100644
--- a/spec/frontend/fixtures/search.rb
+++ b/spec/frontend/fixtures/search.rb
@@ -7,10 +7,16 @@ RSpec.describe SearchController, '(JavaScript fixtures)', type: :controller do
render_views
+ let_it_be(:user) { create(:admin) }
+
before(:all) do
clean_frontend_fixtures('search/')
end
+ before do
+ sign_in(user)
+ end
+
it 'search/show.html' do
get :show