Sha256: 2842825b538067905c3cb90b4d25c296cc3a86e504f9b7ba3025ad6770793099

Contents?: true

Size: 515 Bytes

Versions: 24

Compression:

Stored size: 515 Bytes

Contents

# encoding: iso-8859-1
# Ideally we would use Norwegian keywords here, but that won't work unless this file is UTF-8 encoded.
# Alternatively it would be possible to use Norwegian keywords and encode the file as UTF-8.
#
# In both cases, stepdef arguments will be sent in as UTF-8, regardless of what encoding is used.
Given /^jeg drikker en "([^"]*)"$/ do |drink|
  expect(drink).to eq 'øl'.encode('UTF-8')
end

When /^skal de andre si "([^"]*)"$/ do |greeting|
  expect(greeting).to eq 'skål'.encode('UTF-8')
end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
cucumber-2.99.0 features/lib/step_definitions/iso-8859-1_steps.rb
mobiusloop-0.1.5 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.4.0 features/lib/step_definitions/iso-8859-1_steps.rb
mobiusloop-0.1.3 features/lib/step_definitions/iso-8859-1_steps.rb
mobiusloop-0.1.2 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.3.3 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.3.2 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.3.1 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.3.0 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.2.0 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.1.0 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.2 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.1 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.rc.5 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.rc.4 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.rc.3 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.rc.2 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.rc.1 features/lib/step_definitions/iso-8859-1_steps.rb
cucumber-2.0.0.beta.5 features/lib/step_definitions/iso-8859-1_steps.rb