Sha256: 81d6ff74b648de4a12a85f6f3f155ff1566fb97a2200bb37ca75bb507ac07cb0

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

require "spec_helper"

describe NPR::Entity::MemberByline do
  json_fixture do
    <<-JSON
      {
        "refId": "166481286",
        "num": "6"
      }
    JSON
  end
  
  before :each do
    @member_byline = NPR::Entity::MemberByline.new(@fixture)
  end
  
  it "sets attributes" do
    @member_byline.refId.should eq 166481286
    @member_byline.num.should eq 6
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
npr-1.1.0 spec/unit/entity/member_byline_spec.rb
npr-0.1.2 spec/unit/entity/member_byline_spec.rb
npr-0.1.1 spec/unit/entity/member_byline_spec.rb
npr-0.1.0 spec/unit/entity/member_byline_spec.rb