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
740d819e
Commit
740d819e
authored
Jan 16, 2018
by
Balasankar "Balu" C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for both backup files
parent
a3633805
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/lib/backup/manager_spec.rb
spec/lib/backup/manager_spec.rb
+1
-1
No files found.
spec/lib/backup/manager_spec.rb
View file @
740d819e
...
@@ -197,7 +197,7 @@ describe Backup::Manager do
...
@@ -197,7 +197,7 @@ describe Backup::Manager do
it
'prints the list of available backups'
do
it
'prints the list of available backups'
do
expect
{
subject
.
unpack
}.
to
raise_error
SystemExit
expect
{
subject
.
unpack
}.
to
raise_error
SystemExit
expect
(
progress
).
to
have_received
(
:puts
)
expect
(
progress
).
to
have_received
(
:puts
)
.
with
(
a_string_matching
(
'1451606400_2016_01_01_1.2.3'
))
.
with
(
a_string_matching
(
'1451606400_2016_01_01_1.2.3
\n 1451520000_2015_12_31
'
))
end
end
it
'fails the operation and prints an error'
do
it
'fails the operation and prints an error'
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