Fix test
This commit is contained in:
@@ -111,11 +111,11 @@ class CliProxyTest < CliTestCase
|
|||||||
|
|
||||||
test "logs" do
|
test "logs" do
|
||||||
SSHKit::Backend::Abstract.any_instance.stubs(:capture)
|
SSHKit::Backend::Abstract.any_instance.stubs(:capture)
|
||||||
.with(:docker, :logs, "kamal-proxy", " --tail 100", "--timestamps", "2>&1")
|
.with(:docker, :logs, "kamal-proxy", "--tail 100", "--timestamps", "2>&1")
|
||||||
.returns("Log entry")
|
.returns("Log entry")
|
||||||
|
|
||||||
SSHKit::Backend::Abstract.any_instance.stubs(:capture)
|
SSHKit::Backend::Abstract.any_instance.stubs(:capture)
|
||||||
.with(:docker, :logs, "proxy", " --tail 100", "--timestamps", "2>&1")
|
.with(:docker, :logs, "proxy", "--tail 100", "--timestamps", "2>&1")
|
||||||
.returns("Log entry")
|
.returns("Log entry")
|
||||||
|
|
||||||
run_command("logs").tap do |output|
|
run_command("logs").tap do |output|
|
||||||
|
|||||||
Reference in New Issue
Block a user