Sha256: f0a23baaf2405ccde4695764d1eef3dedfe8485f5f63459427445f91a0f65277
Contents?: true
Size: 775 Bytes
Versions: 4
Compression:
Stored size: 775 Bytes
Contents
require "spec_helper" describe NPR::Entity::Collection do json_fixture do <<-JSON { "type": "list", "displayType": "Book", "id": "166481178", "title": { "$text": "The Year's Best SF Crosses Galaxies And Genres" }, "introText": {}, "member": [ { "refId": "166481250", "num": "1", "label": "none" }, { "refId": "166481791", "num": "2", "label": "none" }, { "refId": "166482564", "num": "3", "label": "none" } ] } JSON end before :each do @collection = NPR::Entity::Collection.new(@fixture) end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
npr-1.1.0 | spec/unit/entity/collection_spec.rb |
npr-0.1.2 | spec/unit/entity/collection_spec.rb |
npr-0.1.1 | spec/unit/entity/collection_spec.rb |
npr-0.1.0 | spec/unit/entity/collection_spec.rb |