diff options
author | José Valim <jose.valim@gmail.com> | 2010-05-18 02:11:50 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-05-18 02:11:50 +0200 |
commit | 26e645fa000b15c335d5356008aac282c232f7f6 (patch) | |
tree | cd646a22946b5a8bed2f4ce67eeb59d3a66cab84 /actionpack/test/dispatch | |
parent | 0c3cde404ac45d59439c324a4a13ec239c582a5c (diff) | |
download | rails-26e645fa000b15c335d5356008aac282c232f7f6.tar.gz rails-26e645fa000b15c335d5356008aac282c232f7f6.tar.bz2 rails-26e645fa000b15c335d5356008aac282c232f7f6.zip |
Remove deprecated methods since 2-3-stable.
Diffstat (limited to 'actionpack/test/dispatch')
-rw-r--r-- | actionpack/test/dispatch/session/test_session_test.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/actionpack/test/dispatch/session/test_session_test.rb b/actionpack/test/dispatch/session/test_session_test.rb index c8dc4ab461..31ce97a25b 100644 --- a/actionpack/test/dispatch/session/test_session_test.rb +++ b/actionpack/test/dispatch/session/test_session_test.rb @@ -2,18 +2,6 @@ require 'abstract_unit' require 'stringio' class ActionController::TestSessionTest < ActiveSupport::TestCase - def test_calling_delete_without_parameters_raises_deprecation_warning_and_calls_to_clear_test_session - assert_deprecated(/use clear instead/){ ActionController::TestSession.new.delete } - end - - def test_calling_update_without_parameters_raises_deprecation_warning_and_calls_to_clear_test_session - assert_deprecated(/use replace instead/){ ActionController::TestSession.new.update } - end - - def test_calling_close_raises_deprecation_warning - assert_deprecated(/sessions should no longer be closed/){ ActionController::TestSession.new.close } - end - def test_ctor_allows_setting session = ActionController::TestSession.new({:one => 'one', :two => 'two'}) assert_equal('one', session[:one]) |