Try one expectation only

This commit is contained in:
Balasankar "Balu" C 2018-01-16 16:35:20 +05:30
parent 5a8cf78d51
commit dd1bf98cb3

View file

@ -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