Sha256: 8c823e375372f96dbeb684eabf4f937b7649cb9f999666b01ead1cde69cdc57f

Contents?: true

Size: 326 Bytes

Versions: 37

Compression:

Stored size: 326 Bytes

Contents

# http://mislav.uniqpath.com/2010/09/cuking-it-right/

{
  # 'as a movie title in the results' => 'ol.movies h1',
  # 'in a button' => 'button, input[type=submit]',
  # 'in the navigation' => 'nav'
}.
each do |within, selector|
  Then /^(.+) #{within}$/ do |step|
    with_scope(selector) do
      Then step
    end
  end
end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
locomotivecms-3.0.0.rc3 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.rc2 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.rc1 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.pre.beta.1 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.pre.alpha.3 features/step_definitions/within_steps.rb
locomotive_cms-2.5.7 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.pre.alpha.2 features/step_definitions/within_steps.rb
locomotivecms-3.0.0.pre.alpha features/step_definitions/within_steps.rb
locomotive_cms-2.5.6 features/step_definitions/within_steps.rb
locomotive_cms-2.5.6.rc2 features/step_definitions/within_steps.rb
locomotive_cms-2.5.6.rc1 features/step_definitions/within_steps.rb
locomotive_cms-2.5.5 features/step_definitions/within_steps.rb
locomotive_cms-2.5.4 features/step_definitions/within_steps.rb
locomotive_cms-2.5.3 features/step_definitions/within_steps.rb
locomotive_cms-2.5.2 features/step_definitions/within_steps.rb
locomotive_cms-2.5.1 features/step_definitions/within_steps.rb
locomotive_cms-2.5.0 features/step_definitions/within_steps.rb
locomotive_cms-2.5.0.rc3 features/step_definitions/within_steps.rb
locomotive_cms-2.5.0.rc2 features/step_definitions/within_steps.rb
locomotive_cms-2.5.0.rc1 features/step_definitions/within_steps.rb