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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
e2eb0b6f
Commit
e2eb0b6f
authored
Jun 07, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix spec and added changelog
parent
8f07afe3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/backup/repository_spec.rb
spec/lib/gitlab/backup/repository_spec.rb
+2
-2
No files found.
spec/lib/gitlab/backup/repository_spec.rb
View file @
e2eb0b6f
...
@@ -20,7 +20,7 @@ describe Backup::Repository, lib: true do
...
@@ -20,7 +20,7 @@ describe Backup::Repository, lib: true do
$progress
=
@old_progress
# rubocop:disable Style/GlobalVars
$progress
=
@old_progress
# rubocop:disable Style/GlobalVars
end
end
describe
'
.
dump'
do
describe
'
#
dump'
do
describe
'repo failure'
do
describe
'repo failure'
do
before
do
before
do
allow_any_instance_of
(
Project
).
to
receive
(
:empty_repo?
).
and_raise
(
Rugged
::
OdbError
)
allow_any_instance_of
(
Project
).
to
receive
(
:empty_repo?
).
and_raise
(
Rugged
::
OdbError
)
...
@@ -52,7 +52,7 @@ describe Backup::Repository, lib: true do
...
@@ -52,7 +52,7 @@ describe Backup::Repository, lib: true do
end
end
end
end
describe
'
.
restore'
do
describe
'
#
restore'
do
describe
'command failure'
do
describe
'command failure'
do
before
do
before
do
allow
(
Gitlab
::
Popen
).
to
receive
(
:popen
).
and_return
([
'error'
,
1
])
allow
(
Gitlab
::
Popen
).
to
receive
(
:popen
).
and_return
([
'error'
,
1
])
...
...
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