Sha256: bc97202781102cbc67fbd8af5d3f96a70aa6624d582bdd774dfd25c434d9e03d

Contents?: true

Size: 281 Bytes

Versions: 15

Compression:

Stored size: 281 Bytes

Contents

# Single-line step scoper
When /^(.*) within ([^:]+)$/ do |step_def, parent|
  with_scope(parent) { step step_def }
end

# Multi-line step scoper
When /^(.*) within ([^:]+):$/ do |step_def, parent, table_or_string|
  with_scope(parent) { step "#{step_def}:", table_or_string }
end

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
ab_admin-0.3.6 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.5 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.4 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.3 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.2 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.1 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.3.0 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.2.3 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.2.2 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.2.1 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.2.0 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.1.2 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.1.1 features/step_definitions/web_steps/step_scoper.rb
ab_admin-0.1.0 features/step_definitions/web_steps/step_scoper.rb
cucumber-websteps-0.10.0 lib/cucumber/websteps/step_scoper.rb