Sha256: 15782651f34d4d14c2574f1b77a2b7eab3718324d0509bc0756c29613b83cccd
Contents?: true
Size: 270 Bytes
Versions: 14
Compression:
Stored size: 270 Bytes
Contents
require 'spec_helper' describe Coercer::Integer, '.to_decimal' do subject { object.to_decimal(fixnum) } let(:object) { described_class.new } let(:fixnum) { 1 } it { should be_instance_of(BigDecimal) } it { should eql(BigDecimal('1.0')) } end
Version data entries
14 entries across 12 versions & 4 rubygems