[rspec-users] Stories - Use view matchers rather than assigns[].should?

Ashley Moran ashley.moran at patchspace.co.uk
Fri Apr 11 04:44:41 EDT 2008


On 11 Apr 2008, at 03:14, Rick DeNatale wrote:

> I'm thinking that I might just write a whole new xxx_steps.rb file
> which would run the same story but at the real user interaction level,
> and keep the model level steps also.  I still haven't convinced myself
> one way or the other.

Wow, I had never thought of this.  Could you really write a story that  
could be executed in two different environments based on the steps  
file that got loaded?

Ashley

-- 
http://www.patchspace.co.uk/
http://aviewfromafar.net/





More information about the rspec-users mailing list