Sha256: 18a0d888fc84f9ae0c92b061b49718cf683638389bbe4791d982318e52599c2c

Contents?: true

Size: 660 Bytes

Versions: 12

Compression:

Stored size: 660 Bytes

Contents

require File.expand_path("../../../lib/generators/refinery_engine/refinery_engine_generator", __FILE__)

Before do
  @engine_generator_root  = File.expand_path('../../../', __FILE__)
  @tmp_refinery_app_name  = "tmp_refinery_app"
  @tmp_refinery_app_root  = File.join(@engine_generator_root, @tmp_refinery_app_name)
  @app_root = @tmp_refinery_app_root
end

After do
  FileUtils.rm_rf(@tmp_refinery_app_root)
end

When /^I generate an engine with the arguments of "([^"]*)"$/ do |arguments|
  generator = RefineryEngineGenerator.new(arguments.split(" "))
  generator.destination_root = @app_root
  generator.options = {:quiet => true}
  generator.generate
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
refinerycms-generators-0.9.9.2 features/step_definitions/engine_generator_steps.rb
refinerycms-generators-0.9.9.1 features/step_definitions/engine_generator_steps.rb
refinerycms-generators-0.9.9 features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.9 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.8 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.7 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.6 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.5 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.4 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.3 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.2 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb
refinerycms-0.9.8.1 vendor/refinerycms/core/features/step_definitions/engine_generator_steps.rb