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