blob: 7e85749d5b249ec9531b8ab1393a69a70581e926 (
plain)
1
2
3
4
5
6
7
8
|
require_relative '../../spec_helper'
describe "Time#gmt?" do
it "returns true if time represents a time in UTC (GMT)" do
Time.now.gmt?.should == false
Time.now.gmtime.gmt?.should == true
end
end
|