test/collection_json_test.rb in roar-0.12.2 vs test/collection_json_test.rb in roar-0.12.3

- old
+ new

@@ -2,12 +2,10 @@ require 'roar/representer/json/collection_json' class CollectionJsonTest < MiniTest::Spec let(:song) { OpenStruct.new(:title => "scarifice", :length => 43) } - # FIXME: test absence of ::items, ::template, etc. - representer_for([Roar::Representer::JSON::CollectionJSON]) do version "1.0" href { "//songs/" } link(:feed) { "//songs/feed" } @@ -48,10 +46,10 @@ {:name=>"length", :value=>nil} ] }, "queries"=>[ - {:rel=>:search, :href=>"//search", + {:rel=>:search, :href=>"//search", :data=>[ {:name=>"q", :value=>""} ] } ], \ No newline at end of file