rejeep/ruby-tools — pull request #1 by dotemacs (2012-04-21 10:17:03+00:00)
Title: Added new step names

I found steps like:

And I go to point "3"

too 'robotic'. I don't think that as a Emacs user I ever think in
points of a buffer. So I've added steps which are more natural to me.

Next point as discussed over email, taking these steps:

Scenario: Turn single quote string to double quote string
When I insert "'foo'"
And I turn on ruby-mode
And I go to point "3"
And I press "C-""
Then I should see ""foo""
And the cursor should be between "f" and "oo"

To something like this:

Scenario: Turn single quote string to double quote string
When I insert the single quote string "foo"
And I place the cursor on the string "foo"
And I press "C-""
Then I should see the double quote string "foo"
And the cursor should be on the string "foo"

I'm not sure how much would be gained by stating "insert single quote string".

Maybe a better convention would be to change the **When I insert** step to not only take words enclosed in double quotes, but to have it written as:

**When I insert:**

and anything following the **:** is considered input.

Just an idea...