diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-10 03:55:12 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-02-10 03:55:12 +0000 |
commit | eb2dad2fe56b40b698d1273dd04bba1dee97d9b7 (patch) | |
tree | 6c474317bed58601f1a3dd30c28e0a3d6a64e610 /actionpack/test/controller | |
parent | 916f9e5143a07092afe1efdf22b8928241c6781c (diff) | |
download | rails-eb2dad2fe56b40b698d1273dd04bba1dee97d9b7.tar.gz rails-eb2dad2fe56b40b698d1273dd04bba1dee97d9b7.tar.bz2 rails-eb2dad2fe56b40b698d1273dd04bba1dee97d9b7.zip |
Revert [6086] and [6087] since they caused a major regression with functional tests in 1.2.2. References #7372.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/test_test.rb | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb index 4232863cdc..ab44fbf3ca 100644 --- a/actionpack/test/controller/test_test.rb +++ b/actionpack/test/controller/test_test.rb @@ -8,12 +8,6 @@ class TestTest < Test::Unit::TestCase render :text => 'ignore me' end - def set_session - session['string'] = 'A wonder' - session[:symbol] = 'it works' - render :text => 'Success' - end - def render_raw_post raise Test::Unit::AssertionFailedError, "#raw_post is blank" if request.raw_post.blank? render :text => request.raw_post @@ -117,14 +111,6 @@ HTML assert_equal '>value<', flash['test'] end - def test_process_with_session - process :set_session - assert_equal 'A wonder', session['string'], "A value stored in the session should be available by string key" - assert_equal 'A wonder', session[:string], "Test session hash should allow indifferent access" - assert_equal 'it works', session['symbol'], "Test session hash should allow indifferent access" - assert_equal 'it works', session[:symbol], "Test session hash should allow indifferent access" - end - def test_process_with_request_uri_with_no_params process :test_uri assert_equal "/test_test/test/test_uri", @response.body |