lib/cucumber/rb_support/rb_language.rb in cucumber-2.2.0 vs lib/cucumber/rb_support/rb_language.rb in cucumber-2.3.0

- old
+ new

@@ -35,11 +35,11 @@ # The Ruby implementation of the programming language API. class RbLanguage attr_reader :current_world, :step_definitions - all_keywords = ::Gherkin3::DIALECTS.keys.map do |dialect_name| - dialect = ::Gherkin3::Dialect.for(dialect_name) + all_keywords = ::Gherkin::DIALECTS.keys.map do |dialect_name| + dialect = ::Gherkin::Dialect.for(dialect_name) dialect.given_keywords + dialect.when_keywords + dialect.then_keywords + dialect.and_keywords + dialect.but_keywords end Cucumber::Gherkin::I18n.code_keywords_for(all_keywords.flatten.uniq.sort).each do |adverb| RbDsl.alias_adverb(adverb.strip) end