change rspec formatter under jruby so travis will see status

This commit is contained in:
Thomas Walpole 2013-11-19 13:53:06 -08:00
parent 47bce681a3
commit ac1cf04b29
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ end
RSpec::Core::RakeTask.new(:spec_with_chrome) do |t|
t.rspec_opts = %w[--color]
#jruby buffers the progress formatter so travis doesnt see output often enough
t.rspec_opts << '--format documentation' if RUBY_PLATFORM=='java'
t.pattern = './spec{,/*/**}/*{_spec.rb,_spec_chrome.rb}'
end