aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/test_case.rb
diff options
context:
space:
mode:
authorRyan Davis <ryand-ruby@zenspider.com>2013-05-06 17:38:45 -0700
committerRyan Davis <ryand-ruby@zenspider.com>2013-05-06 17:38:45 -0700
commit3073c531983de243219fb55be93fbcebfdd9c44e (patch)
treea255f4990631f0d4cc8532bacd9b78e54bffb47a /actionpack/lib/action_view/test_case.rb
parent2291d0be5c7bdebeaad1091ae13a5917ac6ba811 (diff)
downloadrails-3073c531983de243219fb55be93fbcebfdd9c44e.tar.gz
rails-3073c531983de243219fb55be93fbcebfdd9c44e.tar.bz2
rails-3073c531983de243219fb55be93fbcebfdd9c44e.zip
Updates to make rails 4 happy with minitest 5:
+ Namespace changes, overhaul of runners. + Internal ivar name changes - Removed a logger globally applied to tests that spew everywhere?!? + Override Minitest#__run to sort tests by name. + Reworked testing isolation to work with the new cleaner architecture. - Removed a bunch of tests that just test minitest straight up. I think these changes were all merged to minitest 4 a long time ago. - Minor report output differences.
Diffstat (limited to 'actionpack/lib/action_view/test_case.rb')
-rw-r--r--actionpack/lib/action_view/test_case.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/test_case.rb b/actionpack/lib/action_view/test_case.rb
index 10b487f37a..3145446114 100644
--- a/actionpack/lib/action_view/test_case.rb
+++ b/actionpack/lib/action_view/test_case.rb
@@ -211,7 +211,9 @@ module ActionView
alias_method :_view, :view
INTERNAL_IVARS = [
- :@__name__,
+ :@NAME,
+ :@failures,
+ :@assertions,
:@__io__,
:@_assertion_wrapped,
:@_assertions,