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