Sha256: e30c48ba7927f04cd14d7af9087d76d33fde766f92a4100f8cfeb6cf97c13cd3

Contents?: true

Size: 387 Bytes

Versions: 13

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'
Earth.init :industry, :apply_schemas => true

describe Merchant do
  describe 'data_miner import' do
    before :all do
      require 'data_miner'
      require 'earth/industry/merchant/data_miner'
    end
    it 'should import data' do
      Merchant.destroy_all
      DataMiner.run :resource_names => 'Merchant'
      Merchant.count.should > 1
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
earth-0.0.43 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.42 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.41 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.40 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.39 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.38 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.37 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.36 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.35 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.34 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.33 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.32 spec/lib/earth/industry/merchant_spec.rb
earth-0.0.31 spec/lib/earth/industry/merchant_spec.rb