test/hal_links_test.rb in roar-0.11.9 vs test/hal_links_test.rb in roar-0.11.10
- old
+ new
@@ -16,10 +16,10 @@
subject { Object.new.extend(rpr) }
describe "#to_json" do
it "uses 'links' key" do
- assert_equal subject.to_json, "{\"links\":{\"self\":{\"href\":\"//songs\"}}}"
+ subject.to_json.must_equal "{\"links\":{\"self\":{\"href\":\"//songs\"}}}"
end
end
describe "#from_json" do
it "uses 'links' key" do