Sha256: da0ca54d5d532078bdfb5a3eecfb5f0b26c6b573556d500545763c976c7473ed

Contents?: true

Size: 403 Bytes

Versions: 3

Compression:

Stored size: 403 Bytes

Contents

# Test App Generator
require 'rails/generators'

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

  def install_hyrax
    generate 'hyrax:install', '-f'
  end

  def install_engine
    generate 'newspaper_works:install'
  end

  def db_migrations
    rake 'db:migrate'
  end

  def configure_browse_everything
    generate 'browse_everything:config'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 spec/test_app_templates/lib/generators/test_app_generator.rb
newspaper_works-1.0.0 spec/test_app_templates/lib/generators/test_app_generator.rb
newspaper_works-0.1.0 spec/test_app_templates/lib/generators/test_app_generator.rb