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