search for: controller_authentication

Displaying 1 result from an estimated 1 matches for "controller_authentication".

2011 Mar 30
3
Test errors in fuctional test after adding before_filter :login_required to controller
...the unit controller test with the following line: ruby -Itest test/functional/units_controller_test.rb I get the folowing errors: IN THE ATTACHED FILE If I delete the "before_filter :login_required" line from the unit controller, the test will be executed without any errors. I have a controller_authentication.rb file within my /lib directory. The content of the file: IN THE ATTACHED FILE Can I use one of the methods to get access for the tests? I tried to find a solution for that problem, but I could not find any during the last two days. Please give me advice to solve that problem. Thanks in advanc...