blob: ca4488547a2ef8ca62ae92a06dd08cf4d9326a83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require_relative '../../spec_helper'
describe "GC.enable" do
it "returns true if and only if 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
|