Module: Refinery::Bootstrap

Defined in:
lib/refinery/bootstrap.rb,
lib/refinery/bootstrap/engine.rb

Defined Under Namespace

Classes: Engine

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



12
13
14
# File 'lib/refinery/bootstrap.rb', line 12

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

Class Method Details

.factory_pathsObject



16
17
18
# File 'lib/refinery/bootstrap.rb', line 16

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