From ba5bdf95eced2c05acdd023d3796d7dec2424aa3 Mon Sep 17 00:00:00 2001 From: Samuel Sieg Date: Fri, 24 Mar 2023 09:15:30 +0100 Subject: [PATCH] Improve test --- test/configuration_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/configuration_test.rb b/test/configuration_test.rb index a47b5cee..7b22ee2a 100644 --- a/test/configuration_test.rb +++ b/test/configuration_test.rb @@ -214,8 +214,8 @@ class ConfigurationTest < ActiveSupport::TestCase end test "logging args with custom config" do - config = Mrsk::Configuration.new(@deploy.tap { |c| c.merge!(logging: { "driver" => "local", "options" => { "max-file" => 5 } }) }) - assert_equal ["--log-driver", "local", "--log-opt", "max-file=\"5\""], @config.logging_args + config = Mrsk::Configuration.new(@deploy.tap { |c| c.merge!(logging: { "driver" => "local", "options" => { "max-size" => "100m", "max-file" => 5 } }) }) + assert_equal ["--log-driver", "local", "--log-opt", "max-size=\"100m\"", "--log-opt", "max-file=\"5\""], @config.logging_args end test "erb evaluation of yml config" do