Sha256: 6eef4c7600f6ca67bb3b9e69afbdcd9d7c5274b63b86fc67dec2fa27a7307294
Contents?: true
Size: 380 Bytes
Versions: 11
Compression:
Stored size: 380 Bytes
Contents
require 'spec_helper' require 'tronprint/rails/tronprint_helper' describe TronprintHelper do let :helper do c = Class.new c.send :include, TronprintHelper c.new end describe '#total_footprint' do it 'should return the total footprint' do helper.stub!(:emission_estimate).and_return 89.4 helper.total_footprint.should == 89.4 end end end
Version data entries
11 entries across 11 versions & 1 rubygems