diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-28 05:42:12 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-12-28 05:42:12 +0000 |
commit | 7555073803ffb455715b74664a0cfb48c271fe89 (patch) | |
tree | c3729911796be98a9ad48c5bee6da6402f050ffb /actionpack/test | |
parent | 16558f6dd83d514f783ed13e9bc24d6b66e5aefd (diff) | |
download | rails-7555073803ffb455715b74664a0cfb48c271fe89.tar.gz rails-7555073803ffb455715b74664a0cfb48c271fe89.tar.bz2 rails-7555073803ffb455715b74664a0cfb48c271fe89.zip |
Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/new_render_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/new_render_test.rb b/actionpack/test/controller/new_render_test.rb index 3168daeaec..4c0b9d0c9c 100644 --- a/actionpack/test/controller/new_render_test.rb +++ b/actionpack/test/controller/new_render_test.rb @@ -495,6 +495,7 @@ class NewRenderTest < Test::Unit::TestCase ActionController::Base.protected_variables_cache = nil get :hello_world + assert !assigns.include?('_request'), '_request should not be in assigns' assert !assigns.include?('request'), 'request should not be in assigns' ActionController::Base.view_controller_internals = true |