1
0
Fork 0
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:
Aaron Patterson 2012-07-03 14:28:01 -07:00
parent ada571bfcd
commit b7a4fe18f2
3 changed files with 0 additions and 4 deletions

View file

@ -5,7 +5,6 @@ require 'config'
gem 'minitest'
require 'minitest/autorun'
require 'stringio'
require 'mocha'
require 'cases/test_case'
require 'active_record'

View file

@ -18,8 +18,6 @@ end
require 'minitest/autorun'
require 'empty_bool'
silence_warnings { require 'mocha' }
ENV['NO_RELOAD'] = '1'
require 'active_support'

View file

@ -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