aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/time/utc_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/utc_spec.rb')
-rw-r--r--spec/ruby/core/time/utc_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/time/utc_spec.rb b/spec/ruby/core/time/utc_spec.rb
index 5074c8d54d..74c17a93d1 100644
--- a/spec/ruby/core/time/utc_spec.rb
+++ b/spec/ruby/core/time/utc_spec.rb
@@ -5,7 +5,7 @@ require_relative 'shared/time_params'
describe "Time#utc?" do
it "returns true if time represents a time in UTC (GMT)" do
- Time.now.utc?.should == false
+ Time.now.should_not.utc?
end
end