Subject: [sup-talk] [PATCH] fix class name collision in testcases

From: [email-masked] (Rich Lane)
Date: Tue, 11 Nov 2008 12:52:50 -0500

'rake test' was broken because both testcases' classes had the same name and
the setup method was overridden. This patch changes the class name in
test_mbox_parsing.
---
 test/test_mbox_parsing.rb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/test/test_mbox_parsing.rb b/test/test_mbox_parsing.rb
index 070b152..3a6c2f8 100644
--- a/test/test_mbox_parsing.rb
+++ b/test/test_mbox_parsing.rb
@@ -6,7 +6,7 @@ require 'stringio'
 
 include Redwood
 
-class TestMessage < Test::Unit::TestCase
+class TestMBoxParsing < Test::Unit::TestCase
   def setup
   end
 
-- 
1.5.4.3

---

From: [email-masked] (William Morgan)
Date: Wed, 26 Nov 2008 15:42:28 -0800

Reformatted excerpts from Rich Lane's message of 2008-11-11:
> 'rake test' was broken because both testcases' classes had the same
> name and the setup method was overridden. This patch changes the class
> name in test_mbox_parsing.

Merged directly to master. Thanks!
-- 
William <wmorgan-sup at masanjin.net>