Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10675 from prathamesh-sonpatki/dont-auto-require-…

…mocha

Don't autorequire mocha to avoid deprecation warnings
  • Loading branch information...
commit dcff874189d16045d4fd8587bc4f0db9b37989de 2 parents 1ff5341 + 2b66b32
@rafaelfranca rafaelfranca authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 Gemfile
View
6 Gemfile
@@ -2,7 +2,11 @@ source 'https://rubygems.org'
gemspec
-gem 'mocha', '~> 0.14'
+# This needs to be with require false as it is
+# loaded after loading the test library to
+# ensure correct loading order
+gem 'mocha', '~> 0.14', require: false
+
gem 'rack-cache', '~> 1.2'
gem 'bcrypt-ruby', '~> 3.0.0'
gem 'jquery-rails', '~> 2.2.0'
Please sign in to comment.
Something went wrong with that request. Please try again.