Sha256: 754681077144a26b0d4e5df5ee85c863429f12b3b88f0d3593e50def48031b41

Contents?: true

Size: 378 Bytes

Versions: 7

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'
require 'earth/air/aircraft'
require 'earth/air/aircraft/data_miner'

describe Aircraft do
  describe 'import' do
    it 'should treat empty cells as null' do
      Aircraft.execute_schema
      Aircraft.run_data_miner!
      Aircraft.count.should > 1
      Aircraft.where(:brighter_planet_aircraft_class_code => nil).should_not be_empty
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
earth-0.2.14 spec/earth/air/aircraft_spec.rb
earth-0.2.13 spec/earth/air/aircraft_spec.rb
earth-0.2.12 spec/earth/air/aircraft_spec.rb
earth-0.2.11 spec/earth/air/aircraft_spec.rb
earth-0.2.9 spec/earth/air/aircraft_spec.rb
earth-0.2.8 spec/earth/air/aircraft_spec.rb
earth-0.2.7 spec/earth/air/aircraft_spec.rb