Re: [rspec-users] [Cucumber] factor out non-user steps

2008-12-16 Thread Joseph Wilk
aidy lewis wrote: Hi, I have a step that has been defined by the user Given /a logged in user/ {} Now in that step I have my own step (not defined by the business) of Given all projects have been deleted This sounds like something that might be better suited to a Before / After.

Re: [rspec-users] [Cucumber] factor out non-user steps

2008-12-16 Thread Jonathan Linowes
On Dec 16, 2008, at 6:50 AM, aidy lewis wrote: Hi, I have a step that has been defined by the user Given /a logged in user/ {} Now in that step I have my own step (not defined by the business) of Given all projects have been deleted The second step needs to be included in the first

[rspec-users] [Cucumber] factor out non-user steps

2008-12-16 Thread aidy lewis
Hi, I have a step that has been defined by the user Given /a logged in user/ {} Now in that step I have my own step (not defined by the business) of Given all projects have been deleted The second step needs to be included in the first Given /a logged in user/ do Given(all projects have