Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.3.3
-
None
-
OS X 10.5 built-in ruby (running buildr)
JRuby 1.1.3 (running rspec in buildr)
Description
I have an application with an integrated test suite which is using(:rspec). If I run the full suite (i.e., with `buildr integration`), it fails after the first spec file with an exception like this:
8 examples, 0 failures, 1 pending
/Library/Ruby/Gems/1.8/gems/buildr-1.3.3/lib/buildr/java/test_result.rb:43:in `dump_yaml': wrong number of arguments(1 for 2) (ArgumentError)
from /Library/Ruby/Gems/1.8/gems/buildr-1.3.3/lib/buildr/java/test_result.rb:43:in `guard'
from /Users/rsutphin/studycalendar/git/trunk/test/restful-api/target/spec/runner.rb:34
The exception happens whether or not the first file has any failing specs in it.
If I only run one spec (i.e., with `buildr integration:foo_spec` where foo_spec only matches one spec file), it does not fail. If I use a pattern which matches multiple specs, it fails with the same exception.