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
93151038
Commit
93151038
authored
Jul 05, 2018
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve spec/workers/project_cache_worker_spec.rb
parent
55987a5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
spec/workers/project_cache_worker_spec.rb
spec/workers/project_cache_worker_spec.rb
+1
-6
No files found.
spec/workers/project_cache_worker_spec.rb
View file @
93151038
...
@@ -45,7 +45,6 @@ describe ProjectCacheWorker do
...
@@ -45,7 +45,6 @@ describe ProjectCacheWorker do
expect_any_instance_of
(
Repository
).
to
receive
(
:refresh_method_caches
)
expect_any_instance_of
(
Repository
).
to
receive
(
:refresh_method_caches
)
.
with
(
%i(readme)
)
.
with
(
%i(readme)
)
.
and_call_original
.
and_call_original
<<<<<<<
HEAD
worker
.
perform
(
project
.
id
,
%w(readme)
)
worker
.
perform
(
project
.
id
,
%w(readme)
)
end
end
...
@@ -62,12 +61,8 @@ describe ProjectCacheWorker do
...
@@ -62,12 +61,8 @@ describe ProjectCacheWorker do
expect_any_instance_of
(
Project
).
not_to
receive
(
:update_repository_size
)
expect_any_instance_of
(
Project
).
not_to
receive
(
:update_repository_size
)
expect_any_instance_of
(
Project
).
not_to
receive
(
:update_commit_count
)
expect_any_instance_of
(
Project
).
not_to
receive
(
:update_commit_count
)
subject
.
perform
(
project
.
id
)
worker
.
perform
(
project
.
id
,
%w(readme)
)
end
end
=======
worker
.
perform
(
project
.
id
,
%w(readme)
)
>>>>>>>
upstream
/
master
end
end
context
'with plain readme'
do
context
'with plain readme'
do
...
...
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