Sha256: 22b206563ba8ee402f07da0d1621c7085c453b975f450b700d79da1619980cec
Contents?: true
Size: 607 Bytes
Versions: 1
Compression:
Stored size: 607 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.all.count.should == 67 end it 'is related to BusFuelControl' do BusFuelYearControl.first.control.should_not be_nil end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
earth-0.11.19 | spec/earth/bus/bus_fuel_year_control_spec.rb |