Sha256: ec97fdd30417fe1d10ee7541f42417b482f98cf38ae365f94141c1ed3286d777

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

Given /^(\w+) = (\w+)$/ do |var, value|
  instance_variable_set("@#{var}", value)
end

Then /^I can assert that (\w+).assert == (\w+)$/ do |var_a, var_b|
  a = instance_variable_get("@#{var_a}")
  b = instance_variable_get("@#{var_b}")
  a.assert == b
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ae-1.5.0 demo/cucumber/features/step_definitions/cucumber_steps.rb
ae-1.4.0 expo/cucumber/features/step_definitions/cucumber_steps.rb