Sha256: 633b63ac090549b530dc474ac0f5618223fb08e76faf73155b0b9ce865de3755

Contents?: true

Size: 401 Bytes

Versions: 11

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

module Beatport::Catalog
  describe ItemType do
    before :each do
      VCR.insert_cassette 'item_type'
    end

    after :each do
      VCR.eject_cassette
    end

    describe "structure" do
      subject { ItemType.all.first }
      
      it { should be_an(ItemType) }
      its (:id) { should == 1 }
      its (:name) { should == "track" }            
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
beatport-0.4.0 spec/catalog/item_type_spec.rb
beatport-0.3.0 spec/catalog/item_type_spec.rb
beatport-0.2.3 spec/catalog/item_type_spec.rb
beatport-0.2.2 spec/catalog/item_type_spec.rb
beatport-0.2.1 spec/catalog/item_type_spec.rb
beatport-0.2.0 spec/catalog/item_type_spec.rb
beatport-0.1.10 spec/catalog/item_type_spec.rb
beatport-0.1.9 spec/catalog/item_type_spec.rb
beatport-0.1.8 spec/catalog/item_type_spec.rb
beatport-0.1.7 spec/catalog/item_type_spec.rb
beatport-0.1.6 spec/catalog/item_type_spec.rb