mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
rename MiniTest to Minitest
This commit is contained in:
parent
da1b8a786c
commit
e67a2f26db
2 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@ require 'minitest/mock'
|
|||
module ActiveRecord
|
||||
class AttributeTest < ActiveRecord::TestCase
|
||||
setup do
|
||||
@type = MiniTest::Mock.new
|
||||
@type = Minitest::Mock.new
|
||||
end
|
||||
|
||||
teardown do
|
||||
|
|
|
@ -6,8 +6,8 @@ module ActiveRecord
|
|||
class PendingMigrationsTest < ActiveRecord::TestCase
|
||||
def setup
|
||||
super
|
||||
@connection = MiniTest::Mock.new
|
||||
@app = MiniTest::Mock.new
|
||||
@connection = Minitest::Mock.new
|
||||
@app = Minitest::Mock.new
|
||||
conn = @connection
|
||||
@pending = Class.new(CheckPending) {
|
||||
define_method(:connection) { conn }
|
||||
|
|
Loading…
Reference in a new issue