Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rake tests fail with NoMethodError #2

Open
PaulNendick opened this issue Feb 15, 2011 · 3 comments
Open

rake tests fail with NoMethodError #2

PaulNendick opened this issue Feb 15, 2011 · 3 comments

Comments

@PaulNendick
Copy link
Contributor

Hello,

I've just given this a punt with ruby v1.8.7, rails v1.2.2 and rake v0.8.7. It's getting stopped on one of the last tests.

Is this error something you've seen (see below)? Am I perhaps using the wrong version of something?

Thanks!

Paul

  1. Error:
    test_routing(BrowserControllerTest):
    NoMethodError: undefined method []' for <Enumerable::Enumerator:0x7fabc0212500> /var/lib/gems/1.8/gems/activesupport 1.4.1/lib/active_support/core_ext/string/access.rb:43:infirst'
    /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:86:in recognized_request_for' /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:33:inassert_recognizes'
    /var/lib/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/assertions.rb:60:in clean_backtrace' /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:31:inassert_recognizes'
    /var/lib/gems/1.8/gems/actionpack 1.13.2/lib/action_controller/assertions/routing_assertions.rb:74:in assert_routing' ./test/functional/browser_controller_test.rb:114:intest_routing'
@bdeluca
Copy link
Owner

bdeluca commented Feb 15, 2011

I have seen that error, need to fix it.

@PaulNendick
Copy link
Contributor Author

If I come across a fix, I'll send it your way.

Paul

@bdeluca
Copy link
Owner

bdeluca commented Feb 15, 2011

Seems to be an incompatibility with the version of rails and ruby we are running.

https://github.com/radiant/radiant/wiki/undefined-method-for-enumerable

Lets leave this open here until we get a proper fix.

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

No branches or pull requests

2 participants