Displaying 2 results from an estimated 2 matches for "loginrequir".
Did you mean:
loginrequired
2011 Mar 30
3
Test errors in fuctional test after adding before_filter :login_required to controller
Hello,
I added the "before_filter" to my controllers to require a login of the
user.
Here''s an example of my Unit Controller with the added before_filter:
IN THE ATTACHED FILE
When executing the tests with rake test, I get different error messages.
To show you my errors, I only executed the unit controller test with the
following line:
ruby -Itest
2007 Oct 05
3
basic_auth problem since 0.6.9
...0-05T12:46:45.350021 #4958] DEBUG -- : response-header: date =>
Fri, 05 Oct 2007 18:28:43 GMT
D, [2007-10-05T12:46:45.350078 #4958] DEBUG -- : response-header:
bobo-exception-value => bobo exception
D, [2007-10-05T12:46:45.350136 #4958] DEBUG -- : response-header:
bobo-exception-type => LoginRequired
D, [2007-10-05T12:46:45.350196 #4958] DEBUG -- : response-header:
bobo-exception-line => 958
D, [2007-10-05T12:46:45.350253 #4958] DEBUG -- : response-header: server
=> Apache/1.3.26 (Unix) mod_backhand/1.2.2 mod_fastcgi/2.2.12
mod_ssl/2.8.10 OpenSSL/0.9.6e
D, [2007-10-05T12:46:45.350311...