Andrew Premdas escribió:
> Oh but cucumber features so want to be idented on the I
>
> Scenario: Anonymous user can not duplicate a un-activated account
> Given I am an anonymous user
> And a registered user Fred exists
> When I signup as Fred
> Then I should see an error
>
> Really need to view above with a monspaced font - if its not coming
> out that way in your mail reader.
+0.66 :)
I like to indent this way, but within a given, when or then block:
Scenario: Anonymous user can not duplicate a un-activated account
Given I am an anonymous user
And a registered user Fred exists
When I signup as Fred
Then I should see an error
Great idea, I love conventions!!!
Nando
>
> Andrew
>
> 2008/12/3 Mikel Lindsaar <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>:
> > On Thu, Nov 27, 2008 at 4:28 PM, Aslak Hellesøy
> <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> > wrote:
> >>
> >> When (if) this thread ends, let's start a discussion about indentation
> >> conventions!
> >
> > Oh... let the pleasure be mine!... and why wait?
> > _EVERYONE_ knows that the only way to indent ruby code is 2 plain
> spaces.
> > Tabs are known to be the source of all evil and 4 spaces obviously
> wastes
> > space and bandwidth...
> > Anyone else who says otherwise is obviously and irrefutably misguided :D
> >
> > Mikel
> > <tongue firmly in cheek>
> > _______________________________________________
> > rspec-users mailing list
> > [email protected] <mailto:[email protected]>
> > http://rubyforge.org/mailman/listinfo/rspec-users
> >
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rspec-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/rspec-users
--
Fernando García Samblas
[EMAIL PROTECTED]
http://nando.lacoctelera.com
The Cocktail
C/ Salamanca 17
28020 Madrid
+34 91 567 06 05
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users