mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
mocha_standalone is now deprecated. Switch to mocha/api.
This commit is contained in:
parent
ae6d2efd84
commit
fc15139824
2 changed files with 2 additions and 2 deletions
2
Gemfile
2
Gemfile
|
@ -4,7 +4,7 @@ gemspec
|
|||
|
||||
gem 'arel', github: 'rails/arel', branch: 'master'
|
||||
|
||||
gem 'mocha', '>= 0.11.2', require: false
|
||||
gem 'mocha', github: 'floehopper/mocha', require: false
|
||||
gem 'rack-test', github: 'brynary/rack-test'
|
||||
gem 'rack-cache', '~> 1.2'
|
||||
gem 'bcrypt-ruby', '~> 3.0.0'
|
||||
|
|
|
@ -2,7 +2,7 @@ module ActiveSupport
|
|||
module Testing
|
||||
module MochaModule
|
||||
begin
|
||||
require 'mocha_standalone'
|
||||
require 'mocha/api'
|
||||
include Mocha::API
|
||||
|
||||
def before_setup
|
||||
|
|
Loading…
Reference in a new issue