Check that tar is not executed

parent aaa5fbc4
...@@ -353,6 +353,7 @@ describe Backup::Manager do ...@@ -353,6 +353,7 @@ describe Backup::Manager do
expect { subject.unpack }.to output.to_stdout expect { subject.unpack }.to output.to_stdout
expect(progress).to have_received(:puts) expect(progress).to have_received(:puts)
.with(a_string_matching('Non tarred backup found ')) .with(a_string_matching('Non tarred backup found '))
expect(Kernel).not_to receive(:system)
end end
end end
end end
......
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