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