[rspec-users] Indentation Conventions for Ruby and Cucumber

Zach Dennis zach.dennis at gmail.com
Thu Dec 4 16:43:56 EST 2008

On Thu, Dec 4, 2008 at 2:14 PM, Peter Jaros <peter.a.jaros at gmail.com> wrote:
> On Wed, Dec 3, 2008 at 9: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
> I have to disagree.  I find the jagged margin looks messy.  I would
> never indent other prose this way, so why would I indent my features
> this way?  They're not code, they're prose.  They're not written to be
> parsed, they're written to be read like a story.

+1 to what Peter said,

Zach Dennis

More information about the rspec-users mailing list