Move all files on the host under a common directory
This will make running kamal remove simpler, we can just clean up that directory.
This commit is contained in:
@@ -29,7 +29,7 @@ class CliTestCase < ActiveSupport::TestCase
|
||||
|
||||
def stub_setup
|
||||
SSHKit::Backend::Abstract.any_instance.stubs(:execute)
|
||||
.with { |*args| args == [ :mkdir, "-p", ".kamal" ] }
|
||||
.with { |*args| args == [ :mkdir, "-p", ".kamal/apps/app" ] }
|
||||
SSHKit::Backend::Abstract.any_instance.stubs(:execute)
|
||||
.with { |arg1, arg2, arg3| arg1 == :mkdir && arg2 == "-p" && arg3 == ".kamal/locks" }
|
||||
SSHKit::Backend::Abstract.any_instance.stubs(:execute)
|
||||
|
||||
Reference in New Issue
Block a user