aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-07-04 23:09:58 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-07-04 23:09:58 +0000
commitac412ef1c7cec4cf58741f48b60368701713d850 (patch)
tree51a7c84c5bed266c510bd6700ccc4b08ba64a0f6 /actionpack/test/controller
parent79455b6d45fc0568d4d5a55a95ae49faf2daefde (diff)
downloadrails-ac412ef1c7cec4cf58741f48b60368701713d850.tar.gz
rails-ac412ef1c7cec4cf58741f48b60368701713d850.tar.bz2
rails-ac412ef1c7cec4cf58741f48b60368701713d850.zip
r2822@asus: jeremy | 2005-07-04 21:14:30 -0700
silence warnings re. class redefinitions git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1687 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/new_render_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb
index 47db7136f4..461da8dbc0 100644
--- a/actionpack/test/controller/new_render_test.rb
+++ b/actionpack/test/controller/new_render_test.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../abstract_unit'
-Customer = Struct.new("Customer", :name)
+silence_warnings { Customer = Struct.new("Customer", :name) }
module Fun
class GamesController < ActionController::Base