aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2007-10-26 23:38:34 +0000
committerMichael Koziarski <michael@koziarski.com>2007-10-26 23:38:34 +0000
commitcf9be897b81b5cda0282fb3439c11af6032ecedb (patch)
treef0c096e9ec5b910c73c6a691656254c05724a85e
parent56fec2f26906f996c3eb40d55fd74276928e478b (diff)
downloadrails-cf9be897b81b5cda0282fb3439c11af6032ecedb.tar.gz
rails-cf9be897b81b5cda0282fb3439c11af6032ecedb.tar.bz2
rails-cf9be897b81b5cda0282fb3439c11af6032ecedb.zip
Make sure default_test is tested for ActiveSupport::TestCase too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8041 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--activesupport/test/test_test.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/activesupport/test/test_test.rb b/activesupport/test/test_test.rb
index a05fb9b92d..eecbd31f98 100644
--- a/activesupport/test/test_test.rb
+++ b/activesupport/test/test_test.rb
@@ -1,5 +1,5 @@
require File.dirname(__FILE__) + '/abstract_unit'
-
+require 'active_support/test_case'
class AssertDifferenceTest < Test::Unit::TestCase
def setup
@object = Class.new do
@@ -64,8 +64,10 @@ class AssertDifferenceTest < Test::Unit::TestCase
end
end
-# This should always pass
-
+# These should always pass
class NotTestingThingsTest < Test::Unit::TestCase
include ActiveSupport::Testing::Default
end
+
+class AlsoDoingNothingTest < ActiveSupport::TestCase
+end