diff options
author | Mike Moore <mike@blowmage.com> | 2012-09-24 14:54:59 -0600 |
---|---|---|
committer | Mike Moore <mike@blowmage.com> | 2012-09-24 14:54:59 -0600 |
commit | 1949d1f6b29bd374e7e1cb015ec85ee78e52361a (patch) | |
tree | 94d76507ce6518eb781b3a4d914b7613ba595747 /actionpack/lib | |
parent | 58434e05fe828a89ac11dd4aa051bd1d5d1cfb09 (diff) | |
download | rails-1949d1f6b29bd374e7e1cb015ec85ee78e52361a.tar.gz rails-1949d1f6b29bd374e7e1cb015ec85ee78e52361a.tar.bz2 rails-1949d1f6b29bd374e7e1cb015ec85ee78e52361a.zip |
Register helper and view tests for minitest's spec DSL
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_view/test_case.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |