Sha256: e024f0e6aa384936f85197afefd34972aa1e7587fea98e73a7c56a5534d4e062
Contents?: true
Size: 211 Bytes
Versions: 14
Compression:
Stored size: 211 Bytes
Contents
require 'spec_helper' describe Coercer::Numeric, '.to_float' do subject { object.to_float(numeric) } let(:object) { described_class.new } let(:numeric) { Rational(2, 2) } it { should eql(1.0) } end
Version data entries
14 entries across 12 versions & 4 rubygems