aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2011-10-10 19:42:38 -0700
committerPhilip Arndt <parndt@gmail.com>2011-10-10 19:42:38 -0700
commiteb487f0e4e03c2c6f8d4cf08691249686d692b98 (patch)
treecc05bb775e3c926545872b9c8a2da85f7f2b0ded /lib
parent85419ce88e56b9971ffe8dd6aa98c146a787f513 (diff)
parent754cddb141715eb152049451fff3e1dff1ac146a (diff)
downloadrefinerycms-blog-eb487f0e4e03c2c6f8d4cf08691249686d692b98.tar.gz
refinerycms-blog-eb487f0e4e03c2c6f8d4cf08691249686d692b98.tar.bz2
refinerycms-blog-eb487f0e4e03c2c6f8d4cf08691249686d692b98.zip
Merge pull request #144 from resolve/expose-factories
Load refinerycms factories properly
Diffstat (limited to 'lib')
-rw-r--r--lib/refinerycms-blog.rb4
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