test/runner_test.rb in ripl-0.2.3 vs test/runner_test.rb in ripl-0.2.4
- old
+ new
@@ -132,9 +132,10 @@
mock(shell).loop_once { throw :ripl_exit }
dont_allow(Runner).load_rc(anything)
shell
}
ripl("-f")
+ Ripl.config[:irbrc] = '~/.irbrc'
end
it "with -d option sets $DEBUG" do
ripl("-d", :start=>true)
$DEBUG.should == true