aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-10-10 19:39:51 -0700
committerJamie Winsor <jamie@enmasse.com>2011-10-10 19:39:51 -0700
commit754cddb141715eb152049451fff3e1dff1ac146a (patch)
treecc05bb775e3c926545872b9c8a2da85f7f2b0ded /spec/support
parent85419ce88e56b9971ffe8dd6aa98c146a787f513 (diff)
downloadrefinerycms-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 'spec/support')
-rw-r--r--spec/support/refinery.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/refinery.rb b/spec/support/refinery.rb
index d761787..575ac2b 100644
--- a/spec/support/refinery.rb
+++ b/spec/support/refinery.rb
@@ -1,5 +1,7 @@
require 'refinerycms-testing'
+Refinery::Testing.load_factories
+
RSpec.configure do |config|
config.extend Refinery::Testing::ControllerMacros::Authentication, :type => :controller
config.extend Refinery::Testing::RequestMacros::Authentication, :type => :request