Hi! I have a strange problem. I have three controllers of same name EntitiesController. One is under rest/entities_controller.rb and is called Rest::EntitiesController, the other is under admin/ entities_controller.rb in module Admin::EntitiesController and the last one is in app/controllers/entities_controller.rb and is called EntitiesController When I execute tests separately, All is fine but when I do this: rake test:functionals Then the tests of app/controllers/entities_controller.rb fail. On investigation, it revealed that the tests of this controller are posting there requests to actually rest/entities_controller.rb. I thougth doing this require "#{RAILS_ROOT}/app/controllers/entities_controller.rb" at the top of test/functional/entities_controller.rb would fix the problem but no gain. What might be the problem? Please guide me in this regard. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---