diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2013-12-18 19:22:30 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2013-12-18 19:22:30 -0800 |
commit | e63748cd3705896401ebac6e9f35bb9934d0547e (patch) | |
tree | f3fab34129963f1e16175dc71b97c6c10a986d50 /guides | |
parent | c454fc29a89e2e67ffc94de72062a189aed49b53 (diff) | |
parent | 7bae2921ec51335ec87fde1980a1b568ce37fc1c (diff) | |
download | rails-e63748cd3705896401ebac6e9f35bb9934d0547e.tar.gz rails-e63748cd3705896401ebac6e9f35bb9934d0547e.tar.bz2 rails-e63748cd3705896401ebac6e9f35bb9934d0547e.zip |
Merge pull request #13366 from vipulnsward/minitest-namespace-change
Change all `MiniTest` to `Minitest`
Diffstat (limited to 'guides')
-rw-r--r-- | guides/bug_report_templates/action_controller_gem.rb | 2 | ||||
-rw-r--r-- | guides/bug_report_templates/active_record_gem.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/action_controller_gem.rb b/guides/bug_report_templates/action_controller_gem.rb index 89ac28671a..e7a1e9bd87 100644 --- a/guides/bug_report_templates/action_controller_gem.rb +++ b/guides/bug_report_templates/action_controller_gem.rb @@ -29,7 +29,7 @@ end require 'minitest/autorun' require 'rack/test' -class BugTest < MiniTest::Unit::TestCase +class BugTest < Minitest::Unit::TestCase include Rack::Test::Methods def test_returns_success diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb index a8868a1877..37cd700fbf 100644 --- a/guides/bug_report_templates/active_record_gem.rb +++ b/guides/bug_report_templates/active_record_gem.rb @@ -25,7 +25,7 @@ class Comment < ActiveRecord::Base belongs_to :post end -class BugTest < MiniTest::Unit::TestCase +class BugTest < Minitest::Unit::TestCase def test_association_stuff post = Post.create! post.comments << Comment.create! |