[rspec-users] Indentation Conventions for Ruby and Cucumber
Pat Maddox
pergesu at gmail.com
Mon Dec 8 15:31:11 EST 2008
I think that's ugly. Better to use syntax highlighting in an editor, imo.
Pat
"Andrew Premdas" <apremdas at gmail.com> writes:
> 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)
>
> Andrew
>
> 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
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
More information about the rspec-users
mailing list