aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2013-04-04 18:00:50 -0400
committerNeeraj Singh <neerajdotname@gmail.com>2013-04-04 18:00:50 -0400
commit261520d91890a6844fc769ecf8bd221e35c8974c (patch)
tree731a8074844f21e709f20aa49fc87a53ebe1d37e /guides/bug_report_templates
parent2f0acf6a0a82e60d670b90d39d1278c55fdfe766 (diff)
downloadrails-261520d91890a6844fc769ecf8bd221e35c8974c.tar.gz
rails-261520d91890a6844fc769ecf8bd221e35c8974c.tar.bz2
rails-261520d91890a6844fc769ecf8bd221e35c8974c.zip
template should have generic name
since users just copy and paste and the class name is never changed
Diffstat (limited to 'guides/bug_report_templates')
-rw-r--r--guides/bug_report_templates/active_record_gem.rb2
-rw-r--r--guides/bug_report_templates/active_record_master.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/active_record_gem.rb b/guides/bug_report_templates/active_record_gem.rb
index 19b7309dd7..2c63342572 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 HasManyBugTest < MiniTest::Unit::TestCase
+class BugTest < MiniTest::Unit::TestCase
def test_association_stuff
post = Post.create!
post.comments << Comment.create!
diff --git a/guides/bug_report_templates/active_record_master.rb b/guides/bug_report_templates/active_record_master.rb
index 99107b83cf..68069cdd8d 100644
--- a/guides/bug_report_templates/active_record_master.rb
+++ b/guides/bug_report_templates/active_record_master.rb
@@ -36,7 +36,7 @@ class Comment < ActiveRecord::Base
belongs_to :post
end
-class HasManyBugTest < MiniTest::Unit::TestCase
+class BugTest < MiniTest::Unit::TestCase
def test_association_stuff
post = Post.create!
post.comments << Comment.create!