summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalasankar "Balu" C <balasankar@gitlab.com>2018-01-16 17:44:43 +0530
committerBalasankar "Balu" C <balasankar@gitlab.com>2018-01-16 17:44:43 +0530
commita3633805829a5ce3e8e255bdc4408af2aa49a83f (patch)
tree37e62efccd9e645966c013801c8737ab08f18501
parentdd1bf98cb3e337de1267eecbf5fb73059874ef2a (diff)
downloadgitlab-ce-a3633805829a5ce3e8e255bdc4408af2aa49a83f.tar.gz
Imitate other specs
-rw-r--r--spec/lib/backup/manager_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/backup/manager_spec.rb b/spec/lib/backup/manager_spec.rb
index 08f50d411be..52fc263436d 100644
--- a/spec/lib/backup/manager_spec.rb
+++ b/spec/lib/backup/manager_spec.rb
@@ -195,7 +195,7 @@ describe Backup::Manager do
end
it 'prints the list of available backups' do
- subject.unpack
+ expect { subject.unpack }.to raise_error SystemExit
expect(progress).to have_received(:puts)
.with(a_string_matching('1451606400_2016_01_01_1.2.3'))
end