diff options
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 3 |
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 |