Sha256: 16a921e353d3dca0c9391ae2b2075ab481957f1b66bdc8cd55757c566028df8e

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

require 'spree/core'

module <%= class_name %>
  class Engine < Rails::Engine
    include SolidusSupport::EngineExtensions::Decorators

    isolate_namespace ::Spree

    engine_name '<%= file_name %>'

    # use rspec for tests
    config.generators do |g|
      g.test_framework :rspec
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_dev_support-1.0.1 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt
solidus_dev_support-1.0.0 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt
solidus_dev_support-0.6.0 lib/solidus_dev_support/templates/extension/lib/%file_name%/engine.rb.tt