Re: [rspec-users] rake spec order of running tests

2008-08-21 Thread Mark Wilden
On Thu, Aug 21, 2008 at 12:51 PM, David Chelimsky <[EMAIL PROTECTED]>wrote: > > My personal feeling is that the code examples should be able to run in > any arbitrary order and still pass (no dependencies between examples) I agree, which is why I said "clearly these tests need fixing." Maybe a b

[rspec-users] Cucumber table docs?

2008-08-21 Thread Jim Morris
Hi, I'm looking at the examples in cucumber, and I see the fit-like tables, but for the life of me I don't see how they map to the steps, ie how does the table data get fitted into the steps parameters. Maybe some documentation for these tables is in order ;) Thanks Jim -- Jim Morris, http://

Re: [rspec-users] rake spec order of running tests

2008-08-21 Thread David Chelimsky
On Thu, Aug 21, 2008 at 2:25 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > We ran into a situation today where running 'rake spec' on one machine > produced different results than when running on a different machine. My > reasoned hunch is that the tests were run in a different order, due to the > f

[rspec-users] rake spec order of running tests

2008-08-21 Thread Mark Wilden
We ran into a situation today where running 'rake spec' on one machine produced different results than when running on a different machine. My reasoned hunch is that the tests were run in a different order, due to the file-globbing producing differently ordered file lists. Because some tests used f

Re: [rspec-users] rescue_from failing to rescue [from]

2008-08-21 Thread RSL ___
Apparently this is documented behavior and can be fixed with @controller.use_rails_error_handling! though I'm not sure why they're suddenly failing now [since use_rails_error_handling! has been in rspec-rails since June of last year, heh] but I'm not looking this gift horse in the mouth. RSL

[rspec-users] rescue_from failing to rescue [from]

2008-08-21 Thread RSL ___
Having some weird failures of rescue_from in all my specs. They still rescue in actual usage, just not in my specs. Made a pastie of the code: http://pastie.org/257399 This is with latest [as of 1:00 PM Eastern time zone] rspec/rspec-rails/edge. Thanks in advance for any replies on this. RSL -- P

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-21 Thread Joseph Wilk
Hello, I've been looking through the cucumber documentation and have a couple of questions. I'm curious which of the disadvantages you list would be impossible/very difficult in the classic story runner. I'm just trying to envisage if Cucumber and the classic story runner where to co-exist wha