Skip to content

Commit

Permalink
Removed not needed configuration test
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-alexandrov committed Aug 8, 2023
1 parent c24c7ab commit 0c52a10
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/configuration/builder_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ class ConfigurationBuilderTest < ActiveSupport::TestCase
assert_nil @config.builder.remote_host
end

test "remote config is missing when local is specified" do
@deploy_with_builder_option[:builder] = { "local" => { "arch" => "arm64", "host" => "unix:///Users/<%= `whoami`.strip %>/.docker/run/docker.sock" } }

assert_raises(ArgumentError) do
@config_with_builder_option.builder
end
end

test "setting both local and remote configs" do
@deploy_with_builder_option[:builder] = {
"local" => { "arch" => "arm64", "host" => "unix:///Users/<%= `whoami`.strip %>/.docker/run/docker.sock" },
Expand Down

0 comments on commit 0c52a10

Please sign in to comment.