Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
deb440c8
Commit
deb440c8
authored
Jan 10, 2018
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Stub elastic search setting in spinach tests
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a65e5d04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
features/steps/project/elastic/global_search.rb
features/steps/project/elastic/global_search.rb
+2
-0
features/steps/project/elastic/project_search.rb
features/steps/project/elastic/project_search.rb
+2
-0
features/steps/project/elastic/snippets_search.rb
features/steps/project/elastic/snippets_search.rb
+2
-0
No files found.
features/steps/project/elastic/global_search.rb
View file @
deb440c8
...
...
@@ -8,6 +8,8 @@ class Spinach::Features::GlobalSearch < Spinach::FeatureSteps
include
StubConfiguration
before
do
stub_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
Gitlab
::
Elastic
::
Helper
.
create_empty_index
end
...
...
features/steps/project/elastic/project_search.rb
View file @
deb440c8
...
...
@@ -6,6 +6,8 @@ class Spinach::Features::ProjectSearch < Spinach::FeatureSteps
include
StubConfiguration
before
do
stub_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
Gitlab
::
Elastic
::
Helper
.
create_empty_index
end
...
...
features/steps/project/elastic/snippets_search.rb
View file @
deb440c8
...
...
@@ -6,6 +6,8 @@ class Spinach::Features::SnippetsSearch < Spinach::FeatureSteps
include
StubConfiguration
before
do
stub_application_setting
(
elasticsearch_search:
true
,
elasticsearch_indexing:
true
)
Gitlab
::
Elastic
::
Helper
.
create_empty_index
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment