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