summaryrefslogtreecommitdiff
path: root/spec/ruby/core/time/gmt_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/gmt_spec.rb')
-rw-r--r--spec/ruby/core/time/gmt_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/time/gmt_spec.rb b/spec/ruby/core/time/gmt_spec.rb
index 78ebcd0f5e..840f59e0e8 100644
--- a/spec/ruby/core/time/gmt_spec.rb
+++ b/spec/ruby/core/time/gmt_spec.rb
@@ -1,8 +1,8 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+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
+ Time.now.should_not.gmt?
+ Time.now.gmtime.should.gmt?
end
end