Sha256: b5f7e3e36de23ca96b1642a823573c84a3c7da8e2c1ea7bc4604dbb3acaa6fea

Contents?: true

Size: 474 Bytes

Versions: 31

Compression:

Stored size: 474 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

When /^I copy the locked Gemfile from this project$/ do
  in_current_dir do
    FileUtils.cp(File.join(PROJECT_ROOT, 'Gemfile.lock'), 'Gemfile.lock')
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
saucy-0.2.28.1 features/step_definitions/saucy_steps.rb
saucy-0.2.45 features/step_definitions/saucy_steps.rb
saucy-0.2.44 features/step_definitions/saucy_steps.rb
saucy-0.2.43 features/step_definitions/saucy_steps.rb
saucy-0.2.42 features/step_definitions/saucy_steps.rb
saucy-0.2.41 features/step_definitions/saucy_steps.rb
saucy-0.2.40 features/step_definitions/saucy_steps.rb
saucy-0.2.39 features/step_definitions/saucy_steps.rb
saucy-0.2.38 features/step_definitions/saucy_steps.rb
saucy-0.2.36 features/step_definitions/saucy_steps.rb
saucy-0.2.35 features/step_definitions/saucy_steps.rb
saucy-0.2.34 features/step_definitions/saucy_steps.rb
saucy-0.2.33 features/step_definitions/saucy_steps.rb
saucy-0.2.32 features/step_definitions/saucy_steps.rb
saucy-0.2.31 features/step_definitions/saucy_steps.rb
saucy-0.2.30 features/step_definitions/saucy_steps.rb
saucy-0.2.29 features/step_definitions/saucy_steps.rb
saucy-0.2.28 features/step_definitions/saucy_steps.rb
saucy-0.2.27 features/step_definitions/saucy_steps.rb
saucy-0.2.26 features/step_definitions/saucy_steps.rb