diff options
Diffstat (limited to 'spec/ruby/core/threadgroup/enclosed_spec.rb')
| -rw-r--r-- | spec/ruby/core/threadgroup/enclosed_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/ruby/core/threadgroup/enclosed_spec.rb b/spec/ruby/core/threadgroup/enclosed_spec.rb index 2c1c79f24a..cf8a5bb4c6 100644 --- a/spec/ruby/core/threadgroup/enclosed_spec.rb +++ b/spec/ruby/core/threadgroup/enclosed_spec.rb @@ -1,14 +1,14 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "ThreadGroup#enclosed?" do it "returns false when a ThreadGroup has not been enclosed (default state)" do thread_group = ThreadGroup.new - thread_group.enclosed?.should be_false + thread_group.enclosed?.should == false end it "returns true when a ThreadGroup is enclosed" do thread_group = ThreadGroup.new thread_group.enclose - thread_group.enclosed?.should be_true + thread_group.enclosed?.should == true end end |
