[rspec-users] Terminate on first failure?

2010-02-09 Thread Erik Nost
We have thousands of code examples ('it' methods) in each of our rspec files, each of which is dependent upon the success of the previous one. These are wrapped in a few example groups ('desc' methods). There's no changing that; that's the way they were written. We are making significant changes

[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

Re: [rspec-users] Terminate on first failure?

2010-02-09 Thread David Chelimsky
On Tue, Feb 9, 2010 at 12:10 PM, Erik Nost wrote: > We have thousands of code examples ('it' methods) in each of our rspec > files, each of which is dependent upon the success of the previous one. > These are wrapped in a few example groups ('desc' methods). > > There's no changing that; that's th

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