diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-01-16 16:35:20 +0530 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2018-01-16 16:35:20 +0530 |
commit | dd1bf98cb3e337de1267eecbf5fb73059874ef2a (patch) | |
tree | 32294c98b4cddf8dd8cc6bc97bd7f4f846efd32b /spec/lib/backup/manager_spec.rb | |
parent | 5a8cf78d5141406bdf6dbfa509b345612323d919 (diff) | |
download | gitlab-ce-dd1bf98cb3e337de1267eecbf5fb73059874ef2a.tar.gz |
Try one expectation only
Diffstat (limited to 'spec/lib/backup/manager_spec.rb')
-rw-r--r-- | spec/lib/backup/manager_spec.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/backup/manager_spec.rb b/spec/lib/backup/manager_spec.rb index 108523d8511..08f50d411be 100644 --- a/spec/lib/backup/manager_spec.rb +++ b/spec/lib/backup/manager_spec.rb @@ -198,8 +198,6 @@ describe Backup::Manager do subject.unpack expect(progress).to have_received(:puts) .with(a_string_matching('1451606400_2016_01_01_1.2.3')) - expect(progress).to have_received(:puts) - .with(a_string_matching('1451520000_2015_12_31')) end it 'fails the operation and prints an error' do |