Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6
-
Fix Version/s: JRuby 1.7.0.pre2
-
Component/s: Standard Library
-
Labels:None
-
Environment:Linux (Debian Lenny), OSX 10.6
-
Number of attachments :
Description
I stumbled across this NotImplementedError while setting one of my projects on travis-ci (@travisci). to_pass is on github at https://github.com/kronn/to_pass. The failing test can be invoked as follows:
~/Code/projects/to_pass (master) $ jruby-1.6.0 -Ilib:test test/all.rb -n /test_cli_handles_wrong_arguments/
Loaded suite test/all
Started
E
Finished in 3.609 seconds.
1) Error:
test_cli_handles_wrong_arguments(TestCli):
NotImplementedError: Process::Status#exited? not implemented
/Users/kronn/Code/projects/to_pass/test/test_cli.rb:74:in `test_cli_handles_wrong_arguments'
org/jruby/RubyKernel.java:2038:in `send'
/Users/kronn/.rvm/gems/jruby-1.6.0/gems/mocha-0.9.12/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:22:in `run'
org/jruby/RubyArray.java:1572:in `each'
org/jruby/RubyArray.java:1572:in `each'
1 tests, 0 assertions, 0 failures, 1 errors
Not sure what the protocol is on JIRA's end with regard to submitting patches, but I submitted a pull request that fixes this issue: https://github.com/jruby/jruby/pull/245