File: language_steps.rb

package info (click to toggle)
cucumber 2.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,076 kB
  • sloc: ruby: 17,016; javascript: 4,641; makefile: 12; sh: 10; tcl: 3
file content (8 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
# encoding: utf-8

Then(/^cucumber lists all the supported languages$/) do
  sample_languages = ["Arabic", "български", "Pirate", "English", "日本語"]
  sample_languages.each do |language|
    expect(all_output.force_encoding('utf-8')).to include(language)
  end
end