14 lines
333 B
Ruby
14 lines
333 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class DeployZipTest < ActiveSupport::TestCase
|
||
|
test 'se puede deployear' do
|
||
|
deploy_local = create :deploy_local
|
||
|
|
||
|
assert deploy_local.deploy
|
||
|
assert File.directory?(deploy_local.destination)
|
||
|
|
||
|
assert deploy_local.destroy
|
||
|
assert_not File.directory?(deploy_local.destination)
|
||
|
end
|
||
|
end
|