Module: Refinery::Formtastics
- Defined in:
- lib/refinery/formtastic.rb
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.root ⇒ Object
13 14 15 |
# File 'lib/refinery/formtastic.rb', line 13 def root @root ||= Pathname.new(File.('../../../', __FILE__)) end |
Class Method Details
.factory_paths ⇒ Object
17 18 19 |
# File 'lib/refinery/formtastic.rb', line 17 def factory_paths @factory_paths ||= [ root.join('spec', 'factories').to_s ] end |