Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] [PATCH] fix class name collision in testcases
@ 2008-11-11 17:52 Rich Lane
  2008-11-26 23:42 ` William Morgan
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Lane @ 2008-11-11 17:52 UTC (permalink / raw)


'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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-26 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-11 17:52 [sup-talk] [PATCH] fix class name collision in testcases Rich Lane
2008-11-26 23:42 ` William Morgan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox