blob: 78ebcd0f5e286ced4b1389c401edec42af184e83 (
plain)
1
2
3
4
5
6
7
8
|
require File.expand_path('../../../spec_helper', __FILE__)
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
|