Skip to content

Commit b604120

Browse files
committed
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
1 parent 1ac6fb2 commit b604120

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/caching_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'abstract_unit'
2+
require 'mocha/setup'
23

34
CACHE_DIR = 'test_cache'
45
# Don't change '/../temp/' cavalierly or you might hose something you don't want hosed

0 commit comments

Comments
 (0)