Sha256: 1098a18b09413e37ad027fca45d5fadd8b333e2aa7befd5309f3f1eb3841c586
Contents?: true
Size: 207 Bytes
Versions: 14
Compression:
Stored size: 207 Bytes
Contents
require 'spec_helper' describe Coercer::Time, '.to_integer' do subject { described_class.new.to_integer(value) } let(:time) { Time.now } let(:value) { time } it { should eql(time.to_i) } end
Version data entries
14 entries across 12 versions & 4 rubygems