Sha256: 66151524c7af358d4f22f23a40dd8cc0332c315abacd6d7917740f2a4b136844

Contents?: true

Size: 374 Bytes

Versions: 5

Compression:

Stored size: 374 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

5 entries across 5 versions & 1 rubygems

Version Path
npr-3.0.0 spec/unit/entity/member_byline_spec.rb
npr-2.0.2 spec/unit/entity/member_byline_spec.rb
npr-2.0.1 spec/unit/entity/member_byline_spec.rb
npr-2.0.0 spec/unit/entity/member_byline_spec.rb
npr-1.2.0 spec/unit/entity/member_byline_spec.rb