summaryrefslogtreecommitdiff
path: root/spec/ruby/core/time/thursday_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/time/thursday_spec.rb')
-rw-r--r--spec/ruby/core/time/thursday_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/time/thursday_spec.rb b/spec/ruby/core/time/thursday_spec.rb
index 5788fd9bc7..c11e79d2fa 100644
--- a/spec/ruby/core/time/thursday_spec.rb
+++ b/spec/ruby/core/time/thursday_spec.rb
@@ -1,11 +1,11 @@
-require File.expand_path('../../../spec_helper', __FILE__)
+require_relative '../../spec_helper'
describe "Time#thursday?" do
it "returns true if time represents Thursday" do
- Time.local(2000, 1, 6).thursday?.should == true
+ Time.local(2000, 1, 6).should.thursday?
end
it "returns false if time doesn't represent Thursday" do
- Time.local(2000, 1, 1).thursday?.should == false
+ Time.local(2000, 1, 1).should_not.thursday?
end
end