RSpec should change problem comparing object with #to_ary with an Array
-----------------------------------------------------------------------

                 Key: JRUBY-4474
                 URL: http://jira.codehaus.org/browse/JRUBY-4474
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: OSX 10.6.2, MacBook Pro (2GHz Core Duo)
            Reporter: Dan Kubb
            Assignee: Thomas E Enebo
            Priority: Minor
         Attachments: spec.rb

The attached spec compares an object that has #to_ary defined on it against an 
Array.  This spec passes with MRI 1.8.6-p383, 1.8.7-p248,  1.9.1-p376, and 
1.9.2-preview1, but fails using jruby-1.4.0.

The attached file is the simplest reduction I could find that still reproduces 
the problem.  If I was able to pinpoint it more closely I would've written a 
failing spec for rubyspec.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to