From 64f254ccf74242453421d0c495388293dbc06c71 Mon Sep 17 00:00:00 2001 From: Mike Moore Date: Mon, 24 Sep 2012 15:48:12 -0600 Subject: Register AD::IntegrationTest for minitest's spec DSL --- actionpack/lib/action_dispatch/testing/integration.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/lib/action_dispatch') diff --git a/actionpack/lib/action_dispatch/testing/integration.rb b/actionpack/lib/action_dispatch/testing/integration.rb index a8b27ffafd..4bd7b69642 100644 --- a/actionpack/lib/action_dispatch/testing/integration.rb +++ b/actionpack/lib/action_dispatch/testing/integration.rb @@ -490,6 +490,9 @@ module ActionDispatch include ActionController::TemplateAssertions include ActionDispatch::Routing::UrlFor + # Use AD::IntegrationTest for acceptance tests + register_spec_type(/(Acceptance|Integration) ?Test\z/i, self) + @@app = nil def self.app -- cgit v1.2.3