spec/cucumber/cli/options_spec.rb in cucumber-2.0.2 vs spec/cucumber/cli/options_spec.rb in cucumber-2.1.0
- old
+ new
@@ -85,10 +85,12 @@
end
end
it "displays the language table" do
after_parsing '--i18n foo' do
- expect(@output_stream.string).to include(Gherkin::I18n.language_table);
+ ::Gherkin3::DIALECTS.keys.map do |key|
+ expect(@output_stream.string).to include("#{key}");
+ end
end
end
end
end