Sha256: 57a6829d21f79400167283022f7e80210b77ad667321cfbc0f8d5a3cd5a177c3

Contents?: true

Size: 576 Bytes

Versions: 2

Compression:

Stored size: 576 Bytes

Contents

When /^I install katapult$/ do
  append_to_file 'Gemfile', "gem 'katapult', path: '../../..'"
  run_simple('bin/rails generate katapult:install')
end

# This step is required for any feature because it generates config/database.yml
When /^I generate katapult basics$/ do
  run_simple('bin/rails generate katapult:basics')
end

When /^I( successfully)? transform the application model$/ do |require_success|
  # the second parameter would be true when not specified
  run_simple('bin/rails generate katapult:transform lib/katapult/application_model.rb', !!require_success)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
katapult-0.1.1 features/step_definitions/katapult_steps.rb
katapult-0.1.0 features/step_definitions/katapult_steps.rb