Sha256: ab7f1a9971c2fcdc836cb143d14dc6277538700c766a61bc2198ab7551ada7de

Contents?: true

Size: 393 Bytes

Versions: 29

Compression:

Stored size: 393 Bytes

Contents

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

describe Aircraft do
  describe 'import', :slow => true 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

29 entries across 29 versions & 1 rubygems

Version Path
earth-0.5.0 spec/earth/air/aircraft_spec.rb
earth-0.4.12 spec/earth/air/aircraft_spec.rb
earth-0.4.11 spec/earth/air/aircraft_spec.rb
earth-0.4.10 spec/earth/air/aircraft_spec.rb
earth-0.4.9 spec/earth/air/aircraft_spec.rb
earth-0.4.8 spec/earth/air/aircraft_spec.rb
earth-0.4.7 spec/earth/air/aircraft_spec.rb
earth-0.4.6 spec/earth/air/aircraft_spec.rb
earth-0.4.5 spec/earth/air/aircraft_spec.rb
earth-0.4.4 spec/earth/air/aircraft_spec.rb
earth-0.4.3 spec/earth/air/aircraft_spec.rb
earth-0.4.2 spec/earth/air/aircraft_spec.rb
earth-0.4.1 spec/earth/air/aircraft_spec.rb
earth-0.4.0 spec/earth/air/aircraft_spec.rb
earth-0.3.15 spec/earth/air/aircraft_spec.rb
earth-0.3.14 spec/earth/air/aircraft_spec.rb
earth-0.3.13 spec/earth/air/aircraft_spec.rb
earth-0.3.11 spec/earth/air/aircraft_spec.rb
earth-0.3.10 spec/earth/air/aircraft_spec.rb
earth-0.3.9 spec/earth/air/aircraft_spec.rb