blob: d3581ad4d8d9d25df87d8ea5af5f98be1b337963 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "GC.enable" do
it "returns true iff the garbage collection was already disabled" do
GC.enable
GC.enable.should == false
GC.disable
GC.enable.should == true
GC.enable.should == false
end
end
|