[rspec-users] Cucumber: Group Given, Whens and Thens

Andrew Premdas apremdas at gmail.com
Mon Nov 24 11:49:46 EST 2008


Yeh that just shows how bad my grammer is! Saying that 'there is' /
'there are' is past tense, really meant 'something that has already
happened' ... or 'states' as you so concisely put it :-)

Thanks

Andrew

2008/11/23 Peter Jaros <peter.a.jaros at gmail.com>:
> On Fri, Nov 21, 2008 at 4:35 AM, Andrew Premdas <apremdas at gmail.com> wrote:
>> Interesting ... so this establishes a convention to use in features
>> that all Givens are written in the past tense and all whens in the
>> present tense.
>
> Actually, I put both in the present tense, but Givens describe states
> ("there are..." or "___ is..."), while Whens specify an action ("I
> create...").
>
> Peeja
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list