Skip to content

Instantly share code, notes, and snippets.

@AquaGeek
Created May 14, 2011 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AquaGeek/971628 to your computer and use it in GitHub Desktop.
Save AquaGeek/971628 to your computer and use it in GitHub Desktop.
Rails Lighthouse ticket #2519
From 8c81356ebc4d5397468e285935d3356be7999033 Mon Sep 17 00:00:00 2001
From: Christos Zisopoulos <christos@42linesofcode.com>
Date: Sat, 18 Apr 2009 19:40:13 +0200
Subject: [PATCH] Explicity require test/unit in active_support/test_case in order to always run test suites
---
activesupport/lib/active_support/test_case.rb | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 50e25ef..ac44964 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -7,6 +7,7 @@ rescue LoadError
Mocha.const_set :ExpectationError, Class.new(StandardError)
end
+require 'test/unit'
require 'test/unit/testcase'
require 'active_support/testing/setup_and_teardown'
require 'active_support/testing/assertions'
--
1.6.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment