Skip to content

Commit

Permalink
Merge pull request #62 from citrusmoose/master
Browse files Browse the repository at this point in the history
Undefined <create|setup>_mediator to avoid method redefine warnings
  • Loading branch information
nicksieger committed Nov 30, 2012
2 parents 9bfc0cf + 5f78bc1 commit d270faf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ci/reporter/rake/test_unit_loader.rb
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit d270faf

Please sign in to comment.