Sha256: 3568624f8ff506ef877aa043a8785c4c1b4cf6925de75cf320eccdabb5ca7fd1

Contents?: true

Size: 445 Bytes

Versions: 4

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'
require 'earth/air/airline'

describe Airline do
  before :all do
    Earth.init :air, :load_data_miner => true, :skip_parent_associations => :true
  end
  
  describe 'import', :data_miner => true do
    it 'should import data' do
      Airline.run_data_miner!
    end
  end
  
  describe "verify imported data", :sanity => true do
    it "should have all the data" do
      Airline.count.should == 1522
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
earth-0.12.3 spec/earth/air/airline_spec.rb
earth-0.12.2 spec/earth/air/airline_spec.rb
earth-0.12.1 spec/earth/air/airline_spec.rb
earth-0.12.0 spec/earth/air/airline_spec.rb