Sha256: f7172de2ab55c49659bbf0d99c10759cfdcb43aba27ab0c97eac98603c89d8ee
Contents?: true
Size: 276 Bytes
Versions: 18
Compression:
Stored size: 276 Bytes
Contents
require 'spec_helper' describe Virtus::Coercion::Decimal, '.to_string' do subject { object.to_string(big_decimal) } let(:object) { described_class } let(:big_decimal) { BigDecimal('1.0') } it { should be_instance_of(String) } it { should eql('1.0') } end
Version data entries
18 entries across 18 versions & 2 rubygems