Forum: Ruby on Rails odd behavior with routes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2ced34335d6aca14ea8dec9754191dd2?d=identicon&s=25 fmardini (Guest)
on 2007-06-27 00:21
(Received via mailing list)
hi,

I have been working with rails 6887 for a while now, and today i
decided to try things out with the latest and greatest, but things did
not  go so well.

user_connections_path(1) works correctly when i run the app (and in
the console with app.user_connections_path(1)), but test are failing
(throwing a RoutingError exception) when i run the tests.
After some investigation, the generate method in action_controller/
routing.rb is being called with :action => destroy when testing, but
with :action => index in app/console

any pointers would be really appreciated
thanks

-fouad
This topic is locked and can not be replied to.