test/hal_links_test.rb in roar-0.12.5 vs test/hal_links_test.rb in roar-0.12.6
- old
+ new
@@ -22,10 +22,10 @@
end
end
describe "#from_json" do
it "uses 'links' key" do
- subject.from_json("{\"links\":{\"self\":{\"href\":\"//lifer\"}}}").links.values.must_equal [link(:href => "//lifer", :rel => :self)]
+ subject.from_json("{\"links\":{\"self\":{\"href\":\"//lifer\"}}}").links.values.must_equal [link("href" => "//lifer", "rel" => "self")]
end
end
end