spec/unit/ridley/resources/node_resource_spec.rb in ridley-1.1.1 vs spec/unit/ridley/resources/node_resource_spec.rb in ridley-1.2.0

- old
+ new

@@ -89,10 +89,10 @@ it "has a union between the run list of the original node and the new run list" do expect(result.run_list).to eql(["recipe[one]","recipe[three]","recipe[two]"]) end it "has a deep merge between the attributes of the original node and the new attributes" do - expect(result.normal.to_hash).to eql(deep: { one: "val", two: "val" }) + expect(result.normal.to_hash).to eql("deep" => { "one" => "val", "two" => "val" }) end end context "when a node with the given name does not exist" do let(:node_name) { "does_not_exist" }