aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Mead <james@floehopper.org>2018-04-07 12:18:33 +0100
committerJames Mead <james@floehopper.org>2018-04-07 12:18:33 +0100
commit364756c15c085a5157c7fbbc49aa615486993dfb (patch)
treef971c161da77efd16da0dff47799b3400973bc65
parent3b4b9b6cc575e14300e9c386fc926e003b4d9442 (diff)
downloadrails-364756c15c085a5157c7fbbc49aa615486993dfb.tar.gz
rails-364756c15c085a5157c7fbbc49aa615486993dfb.tar.bz2
rails-364756c15c085a5157c7fbbc49aa615486993dfb.zip
Simplify declaration of mocha dependency in Gemfile
The `require: false` option hasn't been needed since Mocha v1.0.
-rw-r--r--Gemfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Gemfile b/Gemfile
index 0730c1e9b0..6ae11c1fb2 100644
--- a/Gemfile
+++ b/Gemfile
@@ -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"