[rspec-users] Stories - Use view matchers rather than assigns.should?
dchelimsky at gmail.com
Fri Apr 11 08:15:24 EDT 2008
On Apr 11, 2008, at 4:44 AM, Ashley Moran
<ashley.moran at patchspace.co.uk> wrote:
> 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
>> and keep the model level steps also. I still haven't convinced
>> 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?
Absolutely. That is, in fact, one benefit of plain text stories that
we don't have with ruby stories ... Yet.
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users