Sha256: c5297c0c75678f3c1eb684e9f47bbfa43f527d559f953762fd179dc9905d8d0a

Contents?: true

Size: 603 Bytes

Versions: 6

Compression:

Stored size: 603 Bytes

Contents

require 'spec_helper'
require 'earth/bus/bus_fuel_year_control'

describe 'BusFuelYearControl' do
  describe 'import', :data_miner => true do
    before do
      Earth.init :bus, :load_data_miner => true, :skip_parent_associations => :true
    end
    
    it 'imports successfully' do
      BusFuelYearControl.run_data_miner!
    end
  end
  
  describe 'verify imported data', :sanity => true do
    it 'should have all the data' do
      BusFuelYearControl.count.should == 67
    end
    it 'is related to BusFuelControl' do
      BusFuelYearControl.first.control.should_not be_nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
earth-0.12.4 spec/earth/bus/bus_fuel_year_control_spec.rb
earth-0.12.3 spec/earth/bus/bus_fuel_year_control_spec.rb
earth-0.12.2 spec/earth/bus/bus_fuel_year_control_spec.rb
earth-0.12.1 spec/earth/bus/bus_fuel_year_control_spec.rb
earth-0.12.0 spec/earth/bus/bus_fuel_year_control_spec.rb
earth-0.11.20 spec/earth/bus/bus_fuel_year_control_spec.rb