mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Renamed test for error handling to be more specific
This commit is contained in:
parent
ebe3d9eecb
commit
32d0b9a7df
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class DeployStrategyCopyTest < Test::Unit::TestCase
|
||||||
@strategy.deploy!
|
@strategy.deploy!
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_deploy_with_unknown_compression_should_error_on_extension
|
def test_deploy_with_unknown_compression_type_should_error
|
||||||
@config[:copy_compression] = :bogus
|
@config[:copy_compression] = :bogus
|
||||||
Dir.expects(:tmpdir).returns("/temp/dir")
|
Dir.expects(:tmpdir).returns("/temp/dir")
|
||||||
@source.expects(:checkout).with("154", "/temp/dir/1234567890").returns(:local_checkout)
|
@source.expects(:checkout).with("154", "/temp/dir/1234567890").returns(:local_checkout)
|
||||||
|
|
Loading…
Reference in a new issue