blob: d737848b4b85e6c5ebec52fe72efde29d4551a4b (
plain)
1
2
3
4
5
6
7
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "Time#to_f" do
it "returns the float number of seconds + usecs since the epoch" do
Time.at(100, 100).to_f.should == 100.0001
end
end
|