1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From 160aabc7f6138e6bef4779f9b555174fea5a487b Mon Sep 17 00:00:00 2001
From: claudiob <claudiob@gmail.com>
Date: Tue, 6 Jan 2015 08:40:03 -0800
Subject: [PATCH] Fix failing tests by requiring mocha
Now that the rails gem points to 4.2, we need to require mocha in order
to use the `expects` syntax, otherwise tests will fail. See:
https://travis-ci.org/rails/actionpack-action_caching/jobs/46021642
---
test/caching_test.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/caching_test.rb b/test/caching_test.rb
index a25845a..7b20895 100644
--- a/test/caching_test.rb
+++ b/test/caching_test.rb
@@ -1,4 +1,5 @@
require 'abstract_unit'
+require 'mocha/setup'
CACHE_DIR = 'test_cache'
# Don't change '/../temp/' cavalierly or you might hose something you don't want hosed
|