Close SSH session before exiting

This commit is contained in:
Thibault Jouan
2014-07-01 19:54:33 +00:00
parent 9359f2e595
commit 336003d2d7
6 changed files with 31 additions and 0 deletions

View File

@@ -157,5 +157,12 @@ module Producer::Core
expect(env).to be_dry_run
end
end
describe '#cleanup' do
it 'cleans up the remote' do
expect(env.remote).to receive :cleanup
env.cleanup
end
end
end
end