bin/jspec in jspec-2.11.9 vs bin/jspec in jspec-2.11.10

- old
+ new

@@ -10,11 +10,11 @@ require 'server/server' RHINO = 'java org.mozilla.javascript.tools.shell.Main' program :name, 'JSpec' -program :version, '2.11.9' +program :version, '2.11.10' program :description, 'JavaScript BDD Testing Framework' default_command :bind command :init do |c| c.syntax = 'jspec init [dest]' @@ -125,10 +125,10 @@ end # Actions if options.rhino suite = args.shift || path_to('spec.rhino.js') - action = lambda { rhino suite } + action = lambda { exit rhino(suite) } elsif options.server raise 'Cannot use --server with --bind' if options.bind suite = args.shift || path_to('spec.server.html') action = lambda { start_server suite, options } else