On Mar 21, 2008, at 2:35 pm, Aslak Hellesøy wrote:
>> rails_proj/stories/steps or just rails_proj/steps?
>
> Whichever you like. I prefer the first one.
I ended up creating RAILS_ROOT/stories/stories and RAILS_ROOT/stories/
steps
I don't like the duplication of "stories" but I prefer it to
(
On Fri, Mar 21, 2008 at 10:35 AM, Aslak Hellesøy
<[EMAIL PROTECTED]> wrote:
>
>
> On 21. mars. 2008, at 07.32, "Joe Van Dyk" <[EMAIL PROTECTED]> wrote:
>
> > On Thu, Mar 20, 2008 at 2:05 AM, aslak hellesoy
> > <[EMAIL PROTECTED]> wrote:
> >> On Thu, Mar 20, 2008 at 5:44 AM, Joe Van Dyk <[EMAIL
On 21. mars. 2008, at 07.32, "Joe Van Dyk" <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 20, 2008 at 2:05 AM, aslak hellesoy
> <[EMAIL PROTECTED]> wrote:
>> On Thu, Mar 20, 2008 at 5:44 AM, Joe Van Dyk <[EMAIL PROTECTED]>
>> wrote:
>>> Hi,
>>>
>>> How can I have a common set of steps that all my st
On Thu, Mar 20, 2008 at 2:05 AM, aslak hellesoy
<[EMAIL PROTECTED]> wrote:
> On Thu, Mar 20, 2008 at 5:44 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > How can I have a common set of steps that all my stories share?
> >
> > i.e. My stories often start out looking like this:
> >
On Thu, Mar 20, 2008 at 5:44 AM, Joe Van Dyk <[EMAIL PROTECTED]> wrote:
> Hi,
>
> How can I have a common set of steps that all my stories share?
>
> i.e. My stories often start out looking like this:
>
> Given a user Joe
> Given a user Jordan
>
> then:
put this in steps/users.rb:
steps_for(
Hi,
How can I have a common set of steps that all my stories share?
i.e. My stories often start out looking like this:
Given a user Joe
Given a user Jordan
then:
Given("a user $username") do |username|
@users ||= {}
@user_sessions ||= {}
@users[username] = create_user(:username => userna