Sha256: eed125c481369ed839da7618fced73807c295226eb0008475a1048f2f4e9a415

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

require 'spec_helper'
require 'earth/industry/merchant_category'

describe MerchantCategory do
  describe '#name' do
    it "returns the description" do
      MerchantCategory.new(:description => 'Description').name.should == 'Description'
    end
  end
  
  describe 'Sanity check', :sanity => true do
    it { MerchantCategory.count.should == 285 }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-1.2.1 spec/earth/industry/merchant_category_spec.rb
earth-1.1.2 spec/earth/industry/merchant_category_spec.rb
earth-1.1.1 spec/earth/industry/merchant_category_spec.rb
earth-1.1.0 spec/earth/industry/merchant_category_spec.rb
earth-1.0.3 spec/earth/industry/merchant_category_spec.rb
earth-1.0.2 spec/earth/industry/merchant_category_spec.rb
earth-1.0.1 spec/earth/industry/merchant_category_spec.rb