diff --git a/test/commands/registry_test.rb b/test/commands/registry_test.rb index 15a2c312..a866ff0c 100755 --- a/test/commands/registry_test.rb +++ b/test/commands/registry_test.rb @@ -14,10 +14,14 @@ class CommandsRegistryTest < ActiveSupport::TestCase end test "registry login" do - assert_equal [ :docker, :login, "hub.docker.com", "-u", "dhh", "-p", "secret" ], @registry.login + assert_equal \ + "docker login hub.docker.com -u dhh -p secret", + @registry.login.join(" ") end test "registry logout" do - assert_equal [:docker, :logout, "hub.docker.com"], @registry.logout + assert_equal \ + "docker logout hub.docker.com", + @registry.logout.join(" ") end end