[rspec-users] rake features and cucumber feature/name not producing same result

Joseph Wilk josephwilk at joesniff.co.uk
Wed Nov 5 10:53:23 EST 2008


> I'm getting expected: "1"
>                          got: "0" 
>
> on a simple should change(Model, :count).by(1)
>
> It follows the specific model around as well.  If I change order of 
> the fit table or not (the fit table has 20 rows of different models 
> all being exercised the same way, they are part of a replication tool 
> that copies a database).  The only time it passes is when I run the 
> feature independently.
>
> I guess I'll have to look at what the difference is between ( rake 
> features || cucumber features/* ) and cucumber 
> features/specific.feature and try and hunt down what beginning state I 
> could be missing.
>
> Any other ideas?
>
> Mikel
>
Are you running using Webrat or Selenium/Watir?

--
Joseph Wilk
http://www.joesniff.co.uk


More information about the rspec-users mailing list