vendor/plugins/newrelic_rpm/test/newrelic/agent/tc_agent.rb
# Remove the port method so it won't think mongrel
# is available
Remove the port method so it won't think mongrel
is available
Remove the port method so it won ' t think mongrel is available
def teardown
    e = NewRelic::LocalEnvironment.new
    assert_equal :mongrel, e.environment
    assert_equal 3000, e.identifier
    Mongrel::HttpServer.class_eval {undef_method :port}
    @agent.shutdown
    super
  end
def teardown e = NewRelic :: LocalEnvironment . new assert_equal :mongrel , e . environment assert_equal 3000 , e . identifier Mongrel :: HttpServer . class_eval { undef_method :port } @agent . shutdown super end
Remove the port method so it won't think mongrel
is available
Remove the port method so it won ' t think mongrel is available