Sha256: 58119c4c5eef4fbf4eda1cd499eba428852a30a234ebd5d43899570ea91b35e2

Contents?: true

Size: 486 Bytes

Versions: 4

Compression:

Stored size: 486 Bytes

Contents

require 'spec/expectations'
$KCODE = 'u' unless Cucumber::RUBY_1_9

Before('@not_used') do
  raise "Should never run"
end

After('@not_used') do
  raise "Should never run"
end

Before('@background_tagged_before_on_outline') do
  @cukes = '888'
end

After('@background_tagged_before_on_outline') do
  @cukes.should == '888'
end

Transform /^'\d+' to an Integer$/ do |step_arg|
  /'(\d+)' to an Integer/.match(step_arg)[0].to_i
end

Transform(/^('\w+') to a Symbol$/) {|str| str.to_sym }

Version data entries

4 entries across 4 versions & 4 rubygems

Version Path
aslakhellesoy-cucumber-0.3.101 examples/self_test/features/support/env.rb
dwaite-cucumber-0.3.101 examples/self_test/features/support/env.rb
engineyard-cucumber-0.3.101 examples/self_test/features/support/env.rb
cucumber-0.3.101 examples/self_test/features/support/env.rb