Skip to content

Fix specs for ruby 1.9#37

Merged
dmajda merged 1 commit intoopenSUSE:masterfrom
LTe:test_19
May 24, 2012
Merged

Fix specs for ruby 1.9#37
dmajda merged 1 commit intoopenSUSE:masterfrom
LTe:test_19

Conversation

@LTe
Copy link
Copy Markdown
Member

@LTe LTe commented May 24, 2012

Ruby 1.8

1.8.7 :001 > 10.to_a
(irb):1: warning: default `to_a' will be obsolete
 => [10] 

Ruby 1.9.x

101.9.3p125 :001 > 10.to_a
NoMethodError: undefined method `to_a' for 10:Fixnum
    from (irb):1
    from /home/lite/.rvm/rubies/ruby-1.9.3-p125-perf/bin/irb:16:in `<main>'

There is also error with rubinius (XPath matcher for rspec). I created pull request for that (rubinius/rubinius#1743)

Force to create Array from @cwe
dmajda added a commit that referenced this pull request May 24, 2012
Fix specs for ruby 1.9
@dmajda dmajda merged commit 2cf2bd5 into openSUSE:master May 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants