lib/kasket.rb in kasket-0.6.1 vs lib/kasket.rb in kasket-0.6.2
- old
+ new
@@ -32,16 +32,17 @@
begin
ApplicationController.before_filter do
Kasket.cache.clear_local
end
rescue NameError => e
+ puts('WARNING: The kasket before filter did not register (this is OK in the test environment)')
end
#sets up local cache clearing on rack
begin
ActionController::Dispatcher.middleware.use(Kasket::RackMiddleware)
rescue NameError => e
- puts('WARNING: The kasket rack middleware is not in your rack stack')
+ puts('WARNING: The kasket rack middleware is not in your rack stack (this is OK in the test environment)')
end
#sets up local cache clearing after each test case
begin
ActiveSupport::TestCase.class_eval do