diff options
author | José Valim <jose.valim@gmail.com> | 2009-07-03 14:56:19 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-07-03 14:56:19 +0200 |
commit | 3bf45890b323d0fbb5dbfa3e3a2e8f85c627679a (patch) | |
tree | df534932145e9527e0aad6759919e21e9ffc9279 /activesupport/lib/active_support/testing/isolation.rb | |
parent | b7bc68076c50714977aa7e990273a2ec92ba2e15 (diff) | |
parent | a4bdc00fec623f72592e663e6d7830eea0bc6ea4 (diff) | |
download | rails-3bf45890b323d0fbb5dbfa3e3a2e8f85c627679a.tar.gz rails-3bf45890b323d0fbb5dbfa3e3a2e8f85c627679a.tar.bz2 rails-3bf45890b323d0fbb5dbfa3e3a2e8f85c627679a.zip |
Merge branch 'master' of git://github.com/rails/rails
Diffstat (limited to 'activesupport/lib/active_support/testing/isolation.rb')
-rw-r--r-- | activesupport/lib/active_support/testing/isolation.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/testing/isolation.rb b/activesupport/lib/active_support/testing/isolation.rb index 090e0c5c89..dd13abcd5d 100644 --- a/activesupport/lib/active_support/testing/isolation.rb +++ b/activesupport/lib/active_support/testing/isolation.rb @@ -21,6 +21,11 @@ module ActiveSupport::Testing end def run(result) + unless defined?(@@ran_class_setup) + self.class.setup + @@ran_class_setup = true + end + yield(Test::Unit::TestCase::STARTED, name) @_result = result |