Sha256: 9c1a2b61d15cddd74273fe3e12bb56b9f714f4fbc3fb450d9c0ca4bce865be82
Contents?: true
Size: 216 Bytes
Versions: 9
Compression:
Stored size: 216 Bytes
Contents
require 'spec_helper' describe Virtus::Coercion::Numeric, '.to_float' do subject { object.to_float(numeric) } let(:object) { described_class } let(:numeric) { Rational(2, 2) } it { should eql(1.0) } end
Version data entries
9 entries across 9 versions & 2 rubygems