[Rspec-devel] What is a context?

David Chelimsky dchelimsky at gmail.com
Sun Jul 16 14:09:52 EDT 2006

On 7/16/06, Jay Levitt <lists-rspec at shopwatch.org> wrote:

> > I'd really like to avoid rollback and go straight for "tomorrow". The
> > term rollback brings all sorts of implications that I'd rather avoid,
> > for one. The other thing is that I don't want to start gumming up the
> > DSL with attributes like that - especially if it's only temporary!
> Oh, I meant that this is how RSpec works today, in my mind.  If that's
> not really how it works, then my brilliant idea doesn't work at all.

There is currently no control of whether to rollback the context or
not. It just does it. It's a good idea, and the implementation will
have to do something like that under the hood - I just prefer to use a
different word (scenario) rather than making the existing word
(specify) more flexible.


More information about the Rspec-devel mailing list