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
b1c393eb
Commit
b1c393eb
authored
May 08, 2018
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use wiki_repo trait on one more project factory
parent
23aaef3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/spec/lib/gitlab/elastic/project_search_results_spec.rb
ee/spec/lib/gitlab/elastic/project_search_results_spec.rb
+3
-3
No files found.
ee/spec/lib/gitlab/elastic/project_search_results_spec.rb
View file @
b1c393eb
...
...
@@ -34,8 +34,8 @@ describe Gitlab::Elastic::ProjectSearchResults do
describe
"search"
do
it
"returns correct amounts"
do
project
=
create
:project
,
:public
,
:repository
project1
=
create
:project
,
:public
,
:repository
project
=
create
:project
,
:public
,
:repository
,
:wiki_repo
project1
=
create
:project
,
:public
,
:repository
,
:wiki_repo
project
.
repository
.
index_blobs
project
.
repository
.
index_commits
...
...
@@ -64,7 +64,7 @@ describe Gitlab::Elastic::ProjectSearchResults do
context
'visibility checks'
do
it
'shows wiki for guests'
do
project
=
create
:project
,
:public
project
=
create
:project
,
:public
,
:wiki_repo
guest
=
create
:user
project
.
add_guest
(
guest
)
...
...
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