From f034b91314d71fffdeb6dce22d807c3fe96a2a53 Mon Sep 17 00:00:00 2001 From: Tarun Menon Date: Thu, 5 Sep 2024 14:07:56 +1000 Subject: [PATCH] fix test --- spec/ec2_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ec2_spec.rb b/spec/ec2_spec.rb index 43b5d24..4ea6864 100644 --- a/spec/ec2_spec.rb +++ b/spec/ec2_spec.rb @@ -46,7 +46,7 @@ end it "to have property Tags" do - expect(resource["Properties"]["Tags"]).to eq([{"Key"=>"Name", "Value"=>"ecs-task"}, {"Key"=>"Environment", "Value"=>{"Ref"=>"EnvironmentName"}}, {"Key"=>"EnvironmentType", "Value"=>{"Ref"=>"EnvironmentType"}}, {"Key"=>"CostCenter", "Value"=>"TeamA"}]) + expect(resource["Properties"]["Tags"]).to eq([{"Key"=>"Name", "Value"=>"ecs-task"}, {"Key"=>"Environment", "Value"=>{"Ref"=>"EnvironmentName"}}, {"Key"=>"EnvironmentType", "Value"=>{"Ref"=>"EnvironmentType"}}, {"Key"=>{"Fn::Sub"=>"CostCenter"}, "Value"=>{"Fn::Sub"=>"TeamA"}}]) end end