Module: Refinery::Formtastics

Defined in:
lib/refinery/formtastic.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.rootObject



13
14
15
# File 'lib/refinery/formtastic.rb', line 13

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

Class Method Details

.factory_pathsObject



17
18
19
# File 'lib/refinery/formtastic.rb', line 17

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