bin/jspec in jspec-4.2.1 vs bin/jspec in jspec-4.3.0
- old
+ new
@@ -10,11 +10,11 @@
require 'src/project'
require 'src/installables'
require 'src/server'
program :name, 'JSpec'
-program :version, '4.2.1'
+program :version, '4.3.0'
program :description, 'JavaScript BDD Testing Framework'
default_command :bind
JSpec::Project.load_commands_at '~/.jspec/commands'
JSpec::Project.load_commands_at 'spec/commands'
@@ -121,10 +121,10 @@
else
"-f #{path}"
end
end
say "JSpec #{program(:version)}"
- `#{JSpec::Project::RHINO} #{paths.join(' ')} -f -`
+ `java -jar #{JSpec::Project::RHINO} #{paths.join(' ')} -f -`
end
end
command :update do |c|
c.syntax = 'jspec update [dest]'