Permalink
Browse files

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
  • Loading branch information...
1 parent 6a51940 commit 4fa9a2bfe22515f893368786982dd6e76241b552 @jamis jamis committed Sep 20, 2005
Showing with 1 addition and 0 deletions.
  1. +1 −0 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.

0 comments on commit 4fa9a2b

Please sign in to comment.