spec/groovehq/resource_collection_spec.rb in groovehq-1.0.4 vs spec/groovehq/resource_collection_spec.rb in groovehq-1.0.5

- old
+ new

@@ -32,12 +32,14 @@ total_pages: 23, total_count: 23, next_page: "http://api.groovehq.dev/v1/tickets?page=2" } } - } + }.stringify_keys + resource = GrooveHQ::ResourceCollection.new(client, data) expect(resource.rels[:next]).to be_instance_of(GrooveHQ::Relation) + expect(resource.rels[:next].href).to eq("http://api.groovehq.dev/v1/tickets?page=2") end end end