1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Simplify declaration of mocha dependency in Gemfile

The `require: false` option hasn't been needed since Mocha v1.0.
This commit is contained in:
James Mead 2018-04-07 12:18:33 +01:00
parent 3b4b9b6cc5
commit 364756c15c

View file

@ -9,9 +9,7 @@ gemspec
# We need a newish Rake since Active Job sets its test tasks' descriptions.
gem "rake", ">= 11.1"
# This needs to be with require false to ensure correct loading order, as it has to
# be loaded after loading the test library.
gem "mocha", require: false
gem "mocha"
gem "capybara", ">= 2.15", "< 4.0"