diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2013-09-07 12:08:15 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2013-09-07 12:08:15 +0200 |
commit | 5c7762b1716e63b797e2fc27f84ab1926b12cce1 (patch) | |
tree | 762f7672b7733e623e4e1f416f3dd5f7f9e7e17a /guides/bug_report_templates/active_record_gem.rb | |
parent | c989a18a74d970be86c537766f14916bd06fe176 (diff) | |
download | rails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.tar.gz rails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.tar.bz2 rails-5c7762b1716e63b797e2fc27f84ab1926b12cce1.zip |
Use MiniTest::Unit::TestCase instead of Minitest::Test
Since Rails 4.0.x is depending on Minitest 4.x, the constant won't be
available so the gist won't run.
[ci skip]
Diffstat (limited to 'guides/bug_report_templates/active_record_gem.rb')
-rw-r--r-- | guides/bug_report_templates/active_record_gem.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb index 63fbe27aed..a8868a1877 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::Test +class BugTest < MiniTest::Unit::TestCase def test_association_stuff post = Post.create! post.comments << Comment.create! |