On 9 Apr 2008, at 14:14, aslak hellesoy wrote:

> Just a style comment: I usually strive for a single When (in this case
> Fred uploads the csv file).
> The other ones are Givens.

Hmm, I've written a lot of Selenium stories lately, and they look like  
this:

   Given ...

   When the user visits /my_page
   And clicks on "Edit"
   And types "Cow" in the favourite_animal text field
   And clicks the save button

   Then ...

Is that bad?

Ashley

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



_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to