Sha256: dd605fee1cfabf755e8838624f95d917547d7102ad19eaefb90c6030e8ffcb1e
Contents?: true
Size: 421 Bytes
Versions: 7
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' require 'earth/residence/residence_fuel_price' describe ResidenceFuelPrice do describe "Sanity check", :sanity => true do it { ResidenceFuelPrice.count.should == 13741 } # spot check let(:ca_elec) { ResidenceFuelPrice.where(:year => 2012, :month => 5, :residence_fuel_type_name => 'electricity', :locatable_id => 'CA').first } it { ca_elec.price.should == 0.1517 } end end
Version data entries
7 entries across 7 versions & 1 rubygems