class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
  include Capybara::DSL
  include Rails.application.routes.url_helpers
  
  setup do
    # remove any accumulated metrics
    Metrics::Rails.delete_all
  end
  
  private
  
  def aggregate
    Metrics::Rails.aggregate
  end
  
  def counters
    Metrics::Rails.counters
  end
end
class ActiveSupport::IntegrationCase < ActiveSupport::TestCase
  include Capybara::DSL
  include Rails.application.routes.url_helpers
  
  setup do
    # remove any accumulated metrics
    Metrics::Rails.delete_all
  end
  
  private
  
  def counters
    Metrics::Rails.counters
  end
end
--- 
+++ 
@@ -9,6 +9,10 @@
   
   private
   
+  def aggregate
+    Metrics::Rails.aggregate
+  end
+  
   def counters
     Metrics::Rails.counters
   end
Add aggregate access shortcut method for integration tests.
