From 0372da5f5f08f756c65d64b2fbf298f0fb4b9da6 Mon Sep 17 00:00:00 2001 From: sophia Date: Wed, 29 Jun 2022 16:43:19 -0500 Subject: [PATCH] Update mapper tests for hash with indifferent access --- test/unit/plugins/commands/serve/mappers_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/plugins/commands/serve/mappers_test.rb b/test/unit/plugins/commands/serve/mappers_test.rb index 7aa8e353d..9dcf17e27 100644 --- a/test/unit/plugins/commands/serve/mappers_test.rb +++ b/test/unit/plugins/commands/serve/mappers_test.rb @@ -23,7 +23,8 @@ describe VagrantPlugins::CommandServe::Mappers do ) output = subject.map(input, to: Hash) - expect(output).to eq({error_check: false}) + expect(output["error_check"]).to eq(false) + expect(output[:error_check]).to eq(false) end end