Sha256: bafdc82815f3fc53556f1fa4d269066fd2e28e8fd90fe575d4545f778b9be34f

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'

module Beatport::Catalog
  describe Currency do
    describe "structure" do
      subject { Currency.all.first }
      
      it { should be_a(Currency) }
      its (:id) { should == 1 }
      its (:code) { should == "USD" }
      its (:name) { should == "Dollar" }      
      
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
beatport-0.1.3 spec/catalog/currency_spec.rb
beatport-0.1.2 spec/catalog/currency_spec.rb