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:
parent
3b4b9b6cc5
commit
364756c15c
1 changed files with 1 additions and 3 deletions
4
Gemfile
4
Gemfile
|
@ -9,9 +9,7 @@ gemspec
|
||||||
# We need a newish Rake since Active Job sets its test tasks' descriptions.
|
# We need a newish Rake since Active Job sets its test tasks' descriptions.
|
||||||
gem "rake", ">= 11.1"
|
gem "rake", ">= 11.1"
|
||||||
|
|
||||||
# This needs to be with require false to ensure correct loading order, as it has to
|
gem "mocha"
|
||||||
# be loaded after loading the test library.
|
|
||||||
gem "mocha", require: false
|
|
||||||
|
|
||||||
gem "capybara", ">= 2.15", "< 4.0"
|
gem "capybara", ">= 2.15", "< 4.0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue