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
c4b51c84
Commit
c4b51c84
authored
Apr 19, 2018
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve additional conflicts in spec/models/ci/build_spec.rb
parent
4cb84072
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
28 deletions
+0
-28
spec/models/ci/build_spec.rb
spec/models/ci/build_spec.rb
+0
-28
No files found.
spec/models/ci/build_spec.rb
View file @
c4b51c84
...
...
@@ -1427,33 +1427,6 @@ describe Ci::Build do
end
end
<<<<<<<
HEAD
context
'when destroying the build'
do
let!
(
:build
)
{
create
(
:ci_build
,
artifacts_size:
23
)
}
it
'updates project statistics'
do
expect
(
ProjectStatistics
)
.
to
receive
(
:increment_statistic
)
.
and_call_original
expect
{
build
.
destroy!
}
.
to
change
{
build
.
project
.
statistics
.
reload
.
build_artifacts_size
}
.
by
(
-
23
)
=======
context
'when the artifact size stays the same'
do
it
'does not update project statistics'
do
build
.
name
=
'changed'
expect
(
build
).
not_to
receive
(
:update_project_statistics_after_save
)
build
.
save!
end
>>>>>>>
upstream
/
master
end
end
<<<<<<<
HEAD
=======
context
'when destroying the build'
do
let!
(
:build
)
{
create
(
:ci_build
,
artifacts_size:
23
)
}
...
...
@@ -1467,7 +1440,6 @@ describe Ci::Build do
.
by
(
-
23
)
end
>>>>>>>
upstream
/
master
context
'when the build is destroyed due to the project being destroyed'
do
it
'does not update the project statistics'
do
expect
(
ProjectStatistics
)
...
...
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