Sha256: dbe75bc7f18bbc64e62498a476d97542b529d48172ca1f52db1927769c93ab93

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 1 rubygems

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