Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Initial setup problems was only a single quote issue

#19

Given a user exists with first_name: 'Jason'
this wouldn't work for me and I pulled my hair out just to find out that all I needed was double quotes:
Given a user exists with first_name: "Jason"

Reported by jDeppen · February 21st, 2010 @ 05:25 AM

State: invalid
Milestone: none
Assigned to: Ian White Ian White

Activity

  1. Ian White
    Ian White
    • State changed from new to invalid

    February 25th, 2010 @ 10:24 AM

  2. jDeppen
    jDeppen

    I was wondering why this is invalid? When I run my tests they pass with double quotes but when I switch one to single quotes then I get an undefined step.

    Are double quotes required? If they are required can you note that in the README?

    February 25th, 2010 @ 01:20 PM

  3. Ian White
    Ian White

    Hi there,

    Sorry about that, I misread the ticket as being a solution to another
    invalid bug.

    A note in the readme is a fine idea.

    Cheers,
    Ian

    [#19 Initial setup problems was only a single quote issue state: open]

    Sent from my iPhone

    February 25th, 2010 @ 06:32 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.