[rspec-users] Cucumber - Adding a step definition

Mark Wilden mark at mwilden.com
Sat Mar 14 17:35:50 EDT 2009

On Sat, Mar 14, 2009 at 1:33 PM, Matt Wynne <matt at mattwynne.net> wrote:

> We also have a nifty little convention that allows us to talk about 'the
> Widget "Foo"' and 'the Widget "Bar"' because pretty much every entity in our
> domain (or at least the ones we refer to like this in our features) has a
> #name attribute.

That sounds like a great way to avoid the instance variable.


More information about the rspec-users mailing list