[rspec-users] 'Then' after a 'When' and then a 'Then'?

aidy lewis aidy.lewis at googlemail.com
Wed Jan 21 08:57:14 EST 2009


Hi,

Is it bad form to use a 'Then' after a 'When' and then a 'Then'?

 When the CiP ingest checkbox is clicked
 Then '1 Spool(s) in Cart' should appear
 When the Add button is clicked
 Then an ingest user is on the BBC Cart page

 Or should I create a new scenario and use a 'Given'?

 Or can I have a Given after a 'Then' in the same scenario?

 Or should each scenerio follow 'Given'...'When'...'Then'?

 Cheers

 Aidy


More information about the rspec-users mailing list