Sha256: 7fd0c72416404721b12101172253cf76eb61e31011b4c1c45039d980f818eeef
Contents?: true
Size: 761 Bytes
Versions: 7
Compression:
Stored size: 761 Bytes
Contents
require 'spec_helper' require 'earth/electricity/green_button_adoption' describe GreenButtonAdoption do describe 'import Green Button program adoption data', :data_miner => true do before :all do Earth.init :electricity, :load_data_miner => true end it 'imports data' do GreenButtonAdoption.run_data_miner! end end describe 'verify Green Button program adoption data', :sanity => true do it { GreenButtonAdoption.count.should == 19 } it 'should recognize that PG&E has implemented' do GreenButtonAdoption.find('PG&E').implemented?.should == true end it 'should recognize that TXU Energy has committed' do GreenButtonAdoption.find('TXU Energy').committed?.should == true end end end
Version data entries
7 entries across 7 versions & 1 rubygems