Skip to content

rake tests fail with NoMethodError #2

Description

@PaulNendick

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions