Skip to content

Commit 23595f0

Browse files
committed
Implement GC.config and improve specs
1 parent 42d9631 commit 23595f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

core/gc/config_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030

3131
it "does not change settings that aren't present in the hash" do
3232
previous = GC.config
33-
GC.config({})
33+
GC.config({}).should == previous.except(:implementation)
3434
GC.config.should == previous
3535
end
3636

3737
it "ignores unknown keys" do
3838
previous = GC.config
39-
GC.config(foo: "bar")
39+
GC.config(foo: "bar").should == previous.except(:implementation)
4040
GC.config.should == previous
4141
end
4242

0 commit comments

Comments
 (0)