Commit dd1bf98c authored by Balasankar "Balu" C's avatar Balasankar "Balu" C

Try one expectation only

parent 5a8cf78d
...@@ -198,8 +198,6 @@ describe Backup::Manager do ...@@ -198,8 +198,6 @@ describe Backup::Manager do
subject.unpack subject.unpack
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'))
expect(progress).to have_received(:puts)
.with(a_string_matching('1451520000_2015_12_31'))
end end
it 'fails the operation and prints an error' do it 'fails the operation and prints an error' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment