Sha256: a99e42b8dc424a4c686b39ac5c298928ee1c63ba3367871052416f3f7e625cf5

Contents?: true

Size: 313 Bytes

Versions: 20

Compression:

Stored size: 313 Bytes

Contents

When /^I bootstrap the application for saucy$/ do
  steps %{
    And I add a header to the layout
  }
end

When /^I add a header to the layout$/ do
  header = "<%= yield(:header) %>"

  replace_in_file "app/views/layouts/application.html.erb",
                  /(<body>)/,
                  "\\1\n#{header}"
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
saucy-0.2.11 features/step_definitions/saucy_steps.rb
saucy-0.2.10 features/step_definitions/saucy_steps.rb
saucy-0.2.9 features/step_definitions/saucy_steps.rb
saucy-0.2.8.1 features/step_definitions/saucy_steps.rb
saucy-0.2.8 features/step_definitions/saucy_steps.rb
saucy-0.2.7 features/step_definitions/saucy_steps.rb
saucy-0.2.6.1 features/step_definitions/saucy_steps.rb
saucy-0.2.6 features/step_definitions/saucy_steps.rb
saucy-0.2.5 features/step_definitions/saucy_steps.rb
saucy-0.2.4.1 features/step_definitions/saucy_steps.rb
saucy-0.2.4 features/step_definitions/saucy_steps.rb
saucy-0.2.3 features/step_definitions/saucy_steps.rb
saucy-0.2.2 features/step_definitions/saucy_steps.rb
saucy-0.2.1 features/step_definitions/saucy_steps.rb
saucy-0.2.0 features/step_definitions/saucy_steps.rb
saucy-0.1.18 features/step_definitions/saucy_steps.rb
saucy-0.1.17 features/step_definitions/saucy_steps.rb
saucy-0.1.16 features/step_definitions/saucy_steps.rb
saucy-0.1.15 features/step_definitions/saucy_steps.rb
saucy-0.1.14 features/step_definitions/saucy_steps.rb