Re: [rspec-users] Controller specs and Middleware on Rails

2010-02-11 Thread Román González
Hey David, Basically I didn't try that out. Before I received your response I just re-defined all the actions related to authentication with warden, with a nahive implementation of authentication to make the specs run. Not the best solution, but it works. Thanks anyway for the help given. Regard

Re: [rspec-users] Controller specs and Middleware on Rails

2010-02-09 Thread David Chelimsky
2010/2/9 Román González : > Hey guys, > I'm having some problems on my controller specs regarding authentication. > Previously I was using restful_authentication on the project, but after a > major refactoring we changed the authentication code to > "Warden":http://github.com/hassox/warden (Rack Mi

[rspec-users] Controller specs and Middleware on Rails

2010-02-09 Thread Román González
Hey guys, I'm having some problems on my controller specs regarding authentication. Previously I was using restful_authentication on the project, but after a major refactoring we changed the authentication code to "Warden": http://github.com/hassox/warden (Rack Middleware authentication). When th