lib/rib/test.rb in rib-1.4.0 vs lib/rib/test.rb in rib-1.5.0
- old
+ new
@@ -5,14 +5,15 @@
Pork::Suite.include(Muack::API)
require 'rib'
copy :rib do
- before do
- end
-
after do
Muack.verify
+ end
+
+ def new_shell
+ Rib::Shell.new(:binding => Object.new.instance_eval{binding}).before_loop
end
singleton_class.module_eval do
def test_for *plugins, &block
require 'rib/all' # exhaustive tests