aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2005-09-20 13:55:27 +0000
committerJamis Buck <jamis@37signals.com>2005-09-20 13:55:27 +0000
commit4fa9a2bfe22515f893368786982dd6e76241b552 (patch)
treeb624922b26d82bb3514ca8b82ff45b6ce1237334
parent6a519401176126cd808aa5e3562a21f34a64de65 (diff)
downloadrails-4fa9a2bfe22515f893368786982dd6e76241b552.tar.gz
rails-4fa9a2bfe22515f893368786982dd6e76241b552.tar.bz2
rails-4fa9a2bfe22515f893368786982dd6e76241b552.zip
Require 'pp' early to prevent the pretty-print methods being mixed in too late and messing up a test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r--actionpack/test/controller/base_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb
index a0b6bc0c09..664c4de93b 100644
--- a/actionpack/test/controller/base_test.rb
+++ b/actionpack/test/controller/base_test.rb
@@ -1,5 +1,6 @@
require File.dirname(__FILE__) + '/../abstract_unit'
require 'test/unit'
+require 'pp' # require 'pp' early to prevent hidden_methods from not picking up the pretty-print methods until too late
# This file currently contains a few controller UTs
# I couldn't find where the current base tests are, so I created this file.