Sha256: 401f7d66e48db2b85539792dd85f1a7b3b2bba4683ee1c4d1890d4a644002af2
Contents?: true
Size: 505 Bytes
Versions: 1
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' require 'earth/industry/merchant_category' describe MerchantCategory do describe 'import', :data_miner => true do before do Earth.init :industry, :load_data_miner => true, :skip_parent_associations => :true end it 'should import data' do MerchantCategory.run_data_miner! MerchantCategory.count.should > 0 MerchantCategory.first.mcc.to_s.should =~ /^\d+$/ MerchantCategory.first.description.to_s.should_not be_empty end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
earth-0.12.4 | spec/earth/industry/merchant_category_spec.rb |