From 1949d1f6b29bd374e7e1cb015ec85ee78e52361a Mon Sep 17 00:00:00 2001 From: Mike Moore Date: Mon, 24 Sep 2012 14:54:59 -0600 Subject: Register helper and view tests for minitest's spec DSL --- actionpack/lib/action_view/test_case.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'actionpack/lib') diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb index 434fc8cc14..266cb14cde 100644 --- a/actionpack/lib/action_view/test_case.rb +++ b/actionpack/lib/action_view/test_case.rb @@ -30,6 +30,9 @@ module ActionView end end + # Use AV::TestCase for the base class for helpers and views + register_spec_type(/(Helper|View)( ?Test)?\z/i, self) + module Behavior extend ActiveSupport::Concern -- cgit v1.2.3