提交 7d1d11e6 编写于 作者: G Guillermo Iguaran

Merge pull request #13502 from arunagw/bug-report-template-warning

Minitest::Unit::TestCase is Minitest::Test [ci skip]
......@@ -29,7 +29,7 @@ def index
require 'minitest/autorun'
require 'rack/test'
class BugTest < Minitest::Unit::TestCase
class BugTest < Minitest::Test
include Rack::Test::Methods
def test_returns_success
......
......@@ -25,7 +25,7 @@ class Comment < ActiveRecord::Base
belongs_to :post
end
class BugTest < Minitest::Unit::TestCase
class BugTest < Minitest::Test
def test_association_stuff
post = Post.create!
post.comments << Comment.create!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册