diff options
Diffstat (limited to 'spec/ruby/core/gc/disable_spec.rb')
| -rw-r--r-- | spec/ruby/core/gc/disable_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/gc/disable_spec.rb b/spec/ruby/core/gc/disable_spec.rb index 9a8a8f23e9..f89a9d2768 100644 --- a/spec/ruby/core/gc/disable_spec.rb +++ b/spec/ruby/core/gc/disable_spec.rb @@ -1,11 +1,11 @@ -require File.expand_path('../../../spec_helper', __FILE__) +require_relative '../../spec_helper' describe "GC.disable" do after :each do GC.enable end - it "returns true iff the garbage collection was previously disabled" do + it "returns true if and only if the garbage collection was previously disabled" do GC.enable GC.disable.should == false GC.disable.should == true |
