spec/lib/ruby-conf_spec.rb in ruby-conf-2.0.0 vs spec/lib/ruby-conf_spec.rb in ruby-conf-2.1.0

- old
+ new

@@ -47,9 +47,18 @@ RootTest.__rc_root.should == RootTest RootTest.outer.__rc_root.should == RootTest RootTest.outer.middle.__rc_root == RootTest RootTest.outer.middle.inner.__rc_root.should == RootTest + RootTest.outer.detach + RootTest.outer.__rc_root.should == RootTest.outer + RootTest.outer.middle.__rc_root == RootTest.outer + RootTest.outer.middle.inner.__rc_root.should == RootTest.outer + + RootTest.outer.middle.detach + RootTest.outer.middle.__rc_root == RootTest.outer.middle + RootTest.outer.middle.inner.__rc_root.should == RootTest.outer.middle + end it "sets self properly in nested procs" do RubyConf.define "SelfSetTest" do val proc { self }