Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (7 sloc) 0.212 kB
require 'spec_helper'
describe Virtus::Coercion::Time, '.to_integer' do
subject { described_class.to_integer(value) }
let(:time) { Time.now }
let(:value) { time }
it { should eql(time.to_i) }
end
Jump to Line
Something went wrong with that request. Please try again.