Skip to content

Commit

Permalink
Revert "Moved language help to new features"
Browse files Browse the repository at this point in the history
This reverts commit 5d315b6.

@chrismdp there's something funny going on with Aruba and UTF-8. I
presume these features are passing on your machine, and I can see
they're passing on Travis, but they fail on my machine.

See cucumber/aruba#151 for details.

I'm reverting this commit while we sort this out.
  • Loading branch information
mattwynne committed May 15, 2013
1 parent 880f4a1 commit 75993d9
Showing 1 changed file with 8 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
@needs-many-fonts
Feature: Language help

It's possible to ask cucumber which keywords are used for any
particular language by running:

`cucumber --i18n <language code> help`

This will print a table showing all the different words we use for
that language, to allow you to easily write features in any language
you choose.

In order to figure out the keywords to use for a language
I want to be able to get help on the language from the CLI

Scenario: Get help for Portuguese language
When I run `cucumber --i18n pt help`
Then it should pass with:
When I run cucumber --i18n pt help
Then it should pass with
"""
| feature | "Funcionalidade", "Característica", "Caracteristica" |
| background | "Contexto", "Cenário de Fundo", "Cenario de Fundo", "Fundo" |
Expand All @@ -33,9 +26,9 @@ Feature: Language help
"""

Scenario: List languages
When I run `cucumber --i18n help`
Then the stderr should not contain anything
Then it should pass with:
When I run cucumber --i18n help
Then STDERR should be empty
Then it should pass with
"""
| ar | Arabic | العربية |
| bg | Bulgarian | български |
Expand Down

2 comments on commit 75993d9

@chrismdp
Copy link

@chrismdp chrismdp commented on 75993d9 May 15, 2013 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chrismdp
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reapplied this commit in #469, waiting for an aruba release now cucumber/aruba#151 is merged.

Please sign in to comment.