[rspec-users] Indentation Conventions for Ruby and Cucumber

Andrew Premdas apremdas at gmail.com
Sun Dec 7 02:30:10 EST 2008

Original post was somewhat flippant :)

To be more precise. This style is

  "aligning on the first letter of the second word"

and basically is treating the first word as a label and the rest as content,
and using indentation to differentiate (hopefully clearly)


2008/12/6 Mikel Lindsaar <raasdnil at gmail.com>

> On Thu, Dec 4, 2008 at 1:27 AM, Andrew Premdas <apremdas at gmail.com> wrote:
>> 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.
> The problem with that however is that it is not compliant with
> Internationalization standards...
> Not to mention it would then naturally bias someone toward using an
> enforced I.
> What if I didn't want to use an "I", but an "it" say, in terms of an API
> that is being talked to by another system...
> --
> http://lindsaar.net/
> Rails, RSpec and Life blog....
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20081207/0d918a14/attachment.html>

More information about the rspec-users mailing list