Use stub_any_instance in order to stub find results.
[rails.git] / Gemfile
diff --git a/Gemfile b/Gemfile
index 2cbb1cbef67ed982bf00398e47c3557d778c3643..039216f93e74a34b9778edd38a75d137384bfefd 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -101,6 +101,7 @@ group :test do
   gem "rubocop"
   gem "timecop"
   gem "minitest", "~> 5.1", :platforms => [:ruby_19, :ruby_20]
+  gem "minitest-stub_any_instance"
 end
 
 # Needed in development as well so rake can see konacha tasks