Sha256: 34a453e38213714649cbaa211d6138f98a6626b39c90d38a664f3470b8554764
Contents?: true
Size: 271 Bytes
Versions: 14
Compression:
Stored size: 271 Bytes
Contents
require 'spec_helper' describe Coercer::Decimal, '.to_string' do subject { object.to_string(big_decimal) } let(:object) { described_class.new } let(:big_decimal) { BigDecimal('1.0') } it { should be_instance_of(String) } it { should eql('1.0') } end
Version data entries
14 entries across 12 versions & 4 rubygems