spec/earth/automobile/automobile_make_spec.rb in earth-0.12.4 vs spec/earth/automobile/automobile_make_spec.rb in earth-1.0.0

- old
+ new

@@ -3,20 +3,9 @@ describe AutomobileMake do let(:honda) { AutomobileMake.find('Honda') } # MakeYear with fe from CAFE data let(:acura) { AutomobileMake.find('Acura') } # MakeYear with fe from average of variants - before :all do - Earth.init :automobile, :load_data_miner => true, :skip_parent_associations => true - end - - describe 'import', :data_miner => true do - it 'should import data' do - AutomobileMake.run_data_miner! - AutomobileMake.count.should == AutomobileMake.connection.select_value("SELECT COUNT(DISTINCT make_name) FROM #{AutomobileMakeYear.quoted_table_name}") - end - end - describe 'verify', :sanity => true do it { AutomobileMake.where("fuel_efficiency > 0").count.should == AutomobileMake.count } it { AutomobileMake.where(:fuel_efficiency_units => 'kilometres_per_litre').count.should == AutomobileMake.count } # spot checks