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
6ffd8ef3
Commit
6ffd8ef3
authored
Nov 22, 2016
by
Alejandro Rodríguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/workers/elastic_commit_indexer_worker_spec.rb after CE upstream
update
parent
4c058f2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/workers/elastic_commit_indexer_worker_spec.rb
spec/workers/elastic_commit_indexer_worker_spec.rb
+3
-3
No files found.
spec/workers/elastic_commit_indexer_worker_spec.rb
View file @
6ffd8ef3
...
...
@@ -25,9 +25,9 @@ describe ElasticCommitIndexerWorker do
it
'returns true if repository has unborn head'
do
project
=
create
:project
r
ugged
=
double
(
'rugged
'
)
expect
(
r
ugged
).
to
receive
(
:head_unborn?
).
and_return
(
tru
e
)
expect_any_instance_of
(
Repository
).
to
receive
(
:rugged
).
and_return
(
rugged
)
r
epository
=
double
(
'repository
'
)
expect
(
r
epository
).
to
receive
(
:exists?
).
and_return
(
fals
e
)
expect_any_instance_of
(
Project
).
to
receive
(
:repository
).
and_return
(
repository
)
expect
(
subject
.
perform
(
project
.
id
)).
to
be_truthy
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