Undefined <create|setup>_mediator to avoid method redefine warnings #62

Merged
merged 1 commit into from Nov 30, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −0
Split
@@ -11,6 +11,7 @@ module Unit
module UI
module Console
class TestRunner
+ undef :create_mediator
def create_mediator(suite)
# swap in our custom mediator
return CI::Reporter::TestUnit.new(suite)
@@ -26,6 +27,7 @@ module Test #:nodoc:all
module Unit
module UI
class TestRunner
+ undef :setup_mediator
def setup_mediator
# swap in our custom mediator
@mediator = CI::Reporter::TestUnit.new(@suite)