Sha256: 7843dca7cc3d35e00268b734f0ec409c99cf84126e98688303d645942a667cda

Contents?: true

Size: 387 Bytes

Versions: 5

Compression:

Stored size: 387 Bytes

Contents

require "spec_helper"

describe NPR::Entity::MemberPromoArt do
  json_fixture do
    <<-JSON
      {
        "refId": "153611356",
        "num": "1"
      }
    JSON
  end

  before :each do
    @member_promo_art = NPR::Entity::MemberPromoArt.new(@fixture)
  end

  it "sets attributes" do
    @member_promo_art.refId.should eq 153611356
    @member_promo_art.num.should eq 1
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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