Skip to content

Loading…

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

Merged
merged 1 commit into from

2 participants

@citrusmoose

No description provided.

@nicksieger nicksieger merged commit d270faf into ci-reporter:master
@nicksieger
ci-reporter member

Thanks!

@citrusmoose

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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)
Something went wrong with that request. Please try again.