You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

iso-8859-1_steps.rb 556 B

2 years ago
1234567891011121314151617
  1. # encoding: iso-8859-10
  2. # frozen_string_literal: true
  3. # Ideally we would use Norwegian keywords here, but that won't work unless this
  4. # file is UTF-8 encoded.
  5. # Alternatively, it would be possible to use Norwegian keywords and encode the
  6. # file as UTF-8.
  7. #
  8. # In both cases, stepdef arguments will be sent in as UTF-8, regardless of what
  9. # encoding is used.
  10. Given(/^jeg drikker en "([^"]*)"$/) do |drink|
  11. expect(drink).to eq 'l'.encode('UTF-8')
  12. end
  13. When(/^skal de andre si "([^"]*)"$/) do |greeting|
  14. expect(greeting).to eq 'skl'.encode('UTF-8')
  15. end

No Description

Contributors (1)