rails/actionpack/test
Craig Smith 316f4704ea Test cases should see all the cookies, not just cookies that have been set in the controller.
Previously this example would always pass, even when cookies.delete was not called.

@request.cookies['foo'] = 'bar'
get :delete_cookie
assert_nil cookies['foo']

Signed-off-by: Michael Koziarski <michael@koziarski.com>
[#2768 state:committed]
2009-10-15 10:58:55 +13:00
..
abstract Follow short name convention for test folder and just call it "abstract" 2009-09-19 13:14:22 -05:00
activerecord Add custom "with_routing" to internal tests to fix reseting session after using 2009-10-03 20:45:49 -05:00
controller Test cases should see all the cookies, not just cookies that have been set in the controller. 2009-10-15 10:58:55 +13:00
dispatch CookieJar#delete should return the key's value, consistent with a Hash 2009-10-14 11:50:51 -07:00
fixtures Ported the new ActionView::TestCase from 2-3-stable to master [#3260 2009-09-28 13:31:30 -05:00
lib Add define another "stuff" controller to support routing tests 2009-10-10 21:30:50 -05:00
template Make sure non-escaped urls aren't considered safe 2009-10-15 09:58:35 +13:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Coerce all out going body parts to Strings 2009-10-05 13:58:43 -05:00
active_record_unit.rb Merge abstract_controller/test_helper and new_base/test_helper since they are expected to run in the same testing sandbox 2009-09-13 16:30:27 -05:00
ts_isolated.rb Don't load rubygems for isolated tests 2009-10-03 21:51:34 -05:00