Sha256: c11f5cc982785d36897314905d8610ca269a70816fb40faf3a63312b465b994e

Contents?: true

Size: 402 Bytes

Versions: 3

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true
require 'rails/generators'

class TestAppGenerator < Rails::Generators::Base
  source_root './spec/test_app_templates'

  # if you need to generate any additional configuration
  # into the test app, this generator will be run immediately
  # after setting up the application

  def install_engine
    generate 'active_fedora:noid:install'
    rake 'db:migrate'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_fedora-noid-2.2.0 spec/test_app_templates/lib/generators/test_app_generator.rb
active_fedora-noid-2.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb
active_fedora-noid-2.0.2 spec/test_app_templates/lib/generators/test_app_generator.rb