aboutsummaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJamie Winsor <jamie@enmasse.com>2011-09-02 13:34:06 -0700
committerJamie Winsor <jamie@enmasse.com>2011-09-02 13:35:25 -0700
commitfc68f22858fc485b99836d6b5ce254c67cdabe50 (patch)
tree21122ece4efa97bd3025071344fb1a582ac574d1 /spec/spec_helper.rb
parent177927497131abc1e860e381e0139cab0a8c60d6 (diff)
downloadrefinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.tar.gz
refinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.tar.bz2
refinerycms-blog-fc68f22858fc485b99836d6b5ce254c67cdabe50.zip
update and import refinerycms migrations and seeds
update Guardfile, spec_helper, and support files to match those generated by refinerycms-testing
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 75db576..68edfe8 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -12,6 +12,7 @@ def setup_environment
require 'rspec/rails'
require 'capybara/rspec'
require 'factory_girl'
+ require 'refinerycms-testing'
Rails.backtrace_cleaner.remove_silencers!
@@ -23,6 +24,8 @@ def setup_environment
RSpec.configure do |config|
config.mock_with :rspec
config.use_transactional_fixtures = false
+
+ config.extend ActionController::Testing::Caching, :type => :controller
end
end