diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-10-10 19:39:51 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-10-10 19:39:51 -0700 |
commit | 754cddb141715eb152049451fff3e1dff1ac146a (patch) | |
tree | cc05bb775e3c926545872b9c8a2da85f7f2b0ded /lib | |
parent | 85419ce88e56b9971ffe8dd6aa98c146a787f513 (diff) | |
download | refinerycms-blog-754cddb141715eb152049451fff3e1dff1ac146a.tar.gz refinerycms-blog-754cddb141715eb152049451fff3e1dff1ac146a.tar.bz2 refinerycms-blog-754cddb141715eb152049451fff3e1dff1ac146a.zip |
Load refinerycms factories properly
Expose blog factories to other gems
Diffstat (limited to 'lib')
-rw-r--r-- | lib/refinerycms-blog.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/refinerycms-blog.rb b/lib/refinerycms-blog.rb index fafedf5..135b3e1 100644 --- a/lib/refinerycms-blog.rb +++ b/lib/refinerycms-blog.rb @@ -19,6 +19,10 @@ module Refinery def version ::Refinery::Blog::Version.to_s end + + def factory_paths + @factory_paths ||= [ File.expand_path("../../spec/factories", __FILE__) ] + end end end end |