aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/refinery/blog.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/refinery/blog.rb b/lib/refinery/blog.rb
index 07ed824..78e1bf5 100644
--- a/lib/refinery/blog.rb
+++ b/lib/refinery/blog.rb
@@ -28,7 +28,7 @@ module Refinery
end
def factory_paths
- @factory_paths ||= [ File.expand_path("../../../spec/factories", __FILE__) ]
+ @factory_paths ||= [ root.join("spec/factories").to_s ]
end
end
end