Module: Refinery::Authentication

Includes:
ActiveSupport::Configurable
Defined in:
lib/refinery/authentication.rb,
lib/refinery/authentication/engine.rb,
lib/refinery/authentication/configuration.rb

Defined Under Namespace

Classes: Engine

Class Method Summary collapse

Class Method Details

.factory_pathsObject



22
23
24
# File 'lib/refinery/authentication.rb', line 22

def factory_paths
  @factory_paths ||= [ root.join("spec/factories").to_s ]
end

.rootObject



26
27
28
# File 'lib/refinery/authentication.rb', line 26

def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end