Skip to content

Commit

Permalink
Fix failing tests by requiring mocha
Browse files Browse the repository at this point in the history
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
  • Loading branch information
claudiob committed Jan 6, 2015
1 parent 1ac6fb2 commit b604120
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/caching_test.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b604120

Please sign in to comment.