Sha256: 68ea7b317f95c3840e98e03c9742889ea73801357ccae9ecfa73c4429aa36f55

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

Given('definition') do |content|
  @temporary_scope ||= Object.new

  @temporary_scope.instance_eval(content)
end

When('I run') do |content|
  @temporary_scope.instance_eval(content)
end

Then(/^I can assure that/) do |content|
  expect(@temporary_scope.instance_eval(content)).to eq true
end

Then('I can test that') do |content|
  @temporary_scope.instance_eval(content)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rung-0.1 features/step_definitions/temporary_code_scope.rb