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:
authorMike Greiling <mike@pixelcog.com>2019-07-18 22:11:09 +0300
committerMike Greiling <mike@pixelcog.com>2019-07-19 10:27:15 +0300
commit97b8f85e03f0b6dcfc5d85b92323be979bd27b09 (patch)
tree63c1d694be569bd91b77184dd883c50122d321f8 /spec/frontend/fixtures/search.rb
parent1abe3e514f3fb1920862829cfc272ad7f73e714a (diff)
Move frontend fixtures into spec/frontend
Moves every fixture source file from spec/javascripts to spec/frontend
Diffstat (limited to 'spec/frontend/fixtures/search.rb')
-rw-r--r--spec/frontend/fixtures/search.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/spec/frontend/fixtures/search.rb b/spec/frontend/fixtures/search.rb
new file mode 100644
index 00000000000..c26c6998ae9
--- /dev/null
+++ b/spec/frontend/fixtures/search.rb
@@ -0,0 +1,17 @@
+require 'spec_helper'
+
+describe SearchController, '(JavaScript fixtures)', type: :controller do
+ include JavaScriptFixturesHelpers
+
+ render_views
+
+ before(:all) do
+ clean_frontend_fixtures('search/')
+ end
+
+ it 'search/show.html' do
+ get :show
+
+ expect(response).to be_successful
+ end
+end