Sha256: 0cf92ea470570525046102b279b04dc5497dbe750498ecf0fcce2e14dd63d5d4
Contents?: true
Size: 275 Bytes
Versions: 18
Compression:
Stored size: 275 Bytes
Contents
require 'spec_helper' describe Virtus::Coercion::Integer, '.to_decimal' do subject { object.to_decimal(fixnum) } let(:object) { described_class } let(:fixnum) { 1 } it { should be_instance_of(BigDecimal) } it { should eql(BigDecimal('1.0')) } end
Version data entries
18 entries across 18 versions & 2 rubygems