diff --git a/lib/tasks/cache.rake b/lib/tasks/cache.rake index 8a564fcddc..4f4acb5a97 100644 --- a/lib/tasks/cache.rake +++ b/lib/tasks/cache.rake @@ -1,3 +1,5 @@ +require 'open_food_network/products_cache_integrity_checker' + namespace :openfoodnetwork do namespace :cache do desc 'check the integrity of the products cache' @@ -19,7 +21,7 @@ namespace :openfoodnetwork do private def active_exchanges - ProductsCacheIntegrityChecker.active_exchanges + OpenFoodNetwork::ProductsCacheIntegrityChecker.active_exchanges end end end