Permalink
Browse files

Undef <create|setup>_mediator to avoid redefine warnings

  • Loading branch information...
1 parent 31f0dd7 commit 5f78bc178d02cc43e3bfad04b8a86c383ef92987 @citrusmoose committed Jun 18, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/ci/reporter/rake/test_unit_loader.rb
View
2 lib/ci/reporter/rake/test_unit_loader.rb
@@ -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)

0 comments on commit 5f78bc1

Please sign in to comment.