diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-19 19:45:22 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-19 19:45:22 +0100 |
commit | 08d6eb6824fbab64f4b0578a9ce6f7fd7213f3c7 (patch) | |
tree | 0dd49e2170ffd65d901fe8a3431a87836bdd9ad5 /actionpack/test/controller | |
parent | ff813dc385aaa81be7b33c6960e8d078733493ab (diff) | |
download | rails-08d6eb6824fbab64f4b0578a9ce6f7fd7213f3c7.tar.gz rails-08d6eb6824fbab64f4b0578a9ce6f7fd7213f3c7.tar.bz2 rails-08d6eb6824fbab64f4b0578a9ce6f7fd7213f3c7.zip |
Do not deprecate performed?
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/base_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/controller/base_test.rb b/actionpack/test/controller/base_test.rb index 76e5786e70..6e13aab518 100644 --- a/actionpack/test/controller/base_test.rb +++ b/actionpack/test/controller/base_test.rb @@ -116,6 +116,12 @@ class ControllerInstanceTests < Test::Unit::TestCase Submodule::ContainedNonEmptyController.new] end + def test_performed? + assert !@empty.performed? + @empty.response_body = ["sweet"] + assert @empty.performed? + end + def test_action_methods @empty_controllers.each do |c| assert_equal Set.new, c.class.action_methods, "#{c.controller_path} should be empty!" |