Sha256: 348e12e053ad8f86b21a257cb87b299f3a0c466a124628ab6b178677a5a0e2c8

Contents?: true

Size: 739 Bytes

Versions: 4

Compression:

Stored size: 739 Bytes

Contents

module DoorkeeperSsoClient
  class Engine < ::Rails::Engine
    isolate_namespace DoorkeeperSsoClient

    # New test framework integration
    config.generators do |g|
      g.test_framework  :rspec,
                        :fixtures => true,
                        :view_specs => false,
                        :helper_specs => false,
                        :routing_specs => false,
                        :controller_specs => true,
                        :request_specs => false
      g.fixture_replacement :fabrication
    end

    config.before_initialize do
      if Object.const_defined?("Devise")
        ::Devise::Controllers::Helpers.send(:include, DoorkeeperSsoClient::Mixins::ControllerHelpers)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
doorkeeper_sso_client-0.2.9 lib/doorkeeper_sso_client/engine.rb
doorkeeper_sso_client-0.2.8 lib/doorkeeper_sso_client/engine.rb
doorkeeper_sso_client-0.2.7 lib/doorkeeper_sso_client/engine.rb
doorkeeper_sso_client-0.2.5 lib/doorkeeper_sso_client/engine.rb