Forum: RSpec 'Then' after a 'When' and then a 'Then'?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
aidy lewis (Guest)
on 2009-01-21 16:37
(Received via mailing list)
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
aidy lewis (Guest)
on 2009-01-21 16:44
(Received via mailing list)
Hi,

Apologies only just read the last post re: multiple iterations: please
ignore.

Aidy
This topic is locked and can not be replied to.