spec/dummy/config/environments/test.rb in curate-0.3.1 vs spec/dummy/config/environments/test.rb in curate-0.3.2
- old
+ new
@@ -13,10 +13,10 @@
# Log error messages when you accidentally call methods on nil
config.whiny_nils = true
# Show full error reports and disable caching
- config.consider_all_requests_local = false
+ config.consider_all_requests_local = ENV['LOCAL'] || false
config.action_controller.perform_caching = false
# Raise exceptions instead of rendering exception templates
config.action_dispatch.show_exceptions = false