mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
remove duplicate requires of mocha.
Mocha is already required by AS::TestCase, so remove the duplicate requires.
This commit is contained in:
parent
ada571bfcd
commit
b7a4fe18f2
3 changed files with 0 additions and 4 deletions
|
@ -5,7 +5,6 @@ require 'config'
|
|||
gem 'minitest'
|
||||
require 'minitest/autorun'
|
||||
require 'stringio'
|
||||
require 'mocha'
|
||||
|
||||
require 'cases/test_case'
|
||||
require 'active_record'
|
||||
|
|
|
@ -18,8 +18,6 @@ end
|
|||
require 'minitest/autorun'
|
||||
require 'empty_bool'
|
||||
|
||||
silence_warnings { require 'mocha' }
|
||||
|
||||
ENV['NO_RELOAD'] = '1'
|
||||
require 'active_support'
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
require 'generators/generators_test_helper'
|
||||
require 'rails/generators/rails/model/model_generator'
|
||||
require 'rails/generators/test_unit/model/model_generator'
|
||||
require 'mocha'
|
||||
|
||||
class GeneratorsTest < Rails::Generators::TestCase
|
||||
include GeneratorsTestHelper
|
||||
|
|
Loading…
Reference in a new issue