[rspec-users] [cucumber] more than one keyword translation
oli.azevedo.barnes at gmail.com
Mon Apr 6 18:39:10 EDT 2009
I'm trying to get Given in Portuguese to have two translations, "Dado"
and "Dada" (variations on gender), so that the features are more
so I have this in my languages.yml:
given: Dado|Dada (found this syntax in a comment within the cucumber codebase)
but when I run
cucumber -l pt -f progress features/
the second option isn't read:
undefined method `Dado' for #<Object:0x389a0> (NoMethodError)
from /Library/Ruby/Gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in `require'
from /usr/bin/cucumber:19:in `load'
what's the correct way to do this?
More information about the rspec-users