Permalink
Browse files

rspec --color -- format documentation

  • Loading branch information...
1 parent 4d5e2d8 commit b12d348b6eee67a687ef940e848490a0cf4b947e @kares kares committed Apr 11, 2012
Showing with 5 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +3 −1 Rakefile
  3. +1 −1 therubyrhino.gemspec
View
1 .gitignore
@@ -1,4 +1,5 @@
.idea
+nbproject
doc
*.gem
.rvmrc
View
4 Rakefile
@@ -8,6 +8,8 @@ task :clean do
end
require 'rspec/core/rake_task'
-RSpec::Core::RakeTask.new
+RSpec::Core::RakeTask.new do |spec|
+ spec.rspec_opts = ['--color', "--format documentation"]
+end
task :default => :spec
View
2 therubyrhino.gemspec
@@ -16,7 +16,7 @@ Gem::Specification.new do |s|
s.summary = %q{Embed the Rhino JavaScript interpreter into JRuby}
s.add_development_dependency "rake"
- s.add_development_dependency "rspec"
+ s.add_development_dependency "rspec", ">= 2.7"
s.add_development_dependency "mocha"
s.add_development_dependency "jruby-openssl"
end

0 comments on commit b12d348

Please sign in to comment.