Sha256: 44b08f78a99f2534971eb3d38b12af68be2c31d1f24e059fd6350f517845a6e0
Contents?: true
Size: 532 Bytes
Versions: 7
Compression:
Stored size: 532 Bytes
Contents
require 'spec_helper' require 'earth/computation/computation_carrier_instance_class' describe ComputationCarrierInstanceClass do describe 'Sanity check', :sanity => true do let(:ccic) { ComputationCarrierInstanceClass } let(:total) { ccic.count } it { total.should == 8 } it { ccic.where('electricity_intensity > 0').count.should == total } describe '.fallback' do let(:fallback) { ccic.fallback } it { fallback.electricity_intensity.should be_within(5e-6).of(0.105) } end end end
Version data entries
7 entries across 7 versions & 1 rubygems