From 21dc7eac4e1dd92f67308651478cfd88c2b201e4 Mon Sep 17 00:00:00 2001 From: Marko Vlahovic Date: Thu, 27 Jun 2019 13:49:57 -0700 Subject: [PATCH] Fixing failing test to use include instead of eq --- test/integration/node_pool/controls/kubectl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/node_pool/controls/kubectl.rb b/test/integration/node_pool/controls/kubectl.rb index 8804d6e83e..fb11abad17 100644 --- a/test/integration/node_pool/controls/kubectl.rb +++ b/test/integration/node_pool/controls/kubectl.rb @@ -73,13 +73,13 @@ end it "has the expected taints" do - expect(taints).to eq([ + expect(taints).to include( { effect: "PreferNoSchedule", key: "all-pools-example", value: "true", } - ]) + ) end end end