Sha256: 90c07864965f9d03be1b1748795c35ca77b1ee16b9905cbc89d48299f40573d9
Contents?: true
Size: 451 Bytes
Versions: 4
Compression:
Stored size: 451 Bytes
Contents
require "spec_helper" describe NPR::Entity::Transcript do json_fixture do <<-JSON { "link": { "type": "api", "$text": "http://api.npr.org/transcript?id=166480907&apiKey=MDA1OTI3MjQ5MDEyODUwMTE2MzM1YzNmZA004" } } JSON end before :each do @transcript = NPR::Entity::Transcript.new(@fixture) end it "creates relations" do @transcript.link.should be_a NPR::Entity::Link end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
npr-1.1.0 | spec/unit/entity/transcript_spec.rb |
npr-0.1.2 | spec/unit/entity/transcript_spec.rb |
npr-0.1.1 | spec/unit/entity/transcript_spec.rb |
npr-0.1.0 | spec/unit/entity/transcript_spec.rb |