spec/acceptance/role_resource_spec.rb in ridley-0.1.0 vs spec/acceptance/role_resource_spec.rb in ridley-0.2.0

- old
+ new

@@ -140,12 +140,12 @@ end end it "saves a new env_run_lists" do target.env_run_lists = env_run_lists = { - production: ["recipe[one]"], - development: ["recipe[two]"] + "production" => ["recipe[one]"], + "development" => ["recipe[two]"] } connection.sync do role.update(target) obj = role.find(target) @@ -165,13 +165,13 @@ end end it "saves a new default_attributes" do target.default_attributes = defaults = { - attribute_one: "value_one", - nested: { - other: false + "attribute_one" => "value_one", + "nested" => { + "other" => false } } connection.sync do role.update(target) @@ -181,12 +181,12 @@ end end it "saves a new override_attributes" do target.override_attributes = overrides = { - attribute_two: "value_two", - nested: { - other: false + "attribute_two" => "value_two", + "nested" => { + "other" => false } } connection.sync do role.update(target)