1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/dispatch
Xavier Noria 447b6a4e67 removes usage of Object#in? from the code base (the method remains defined by Active Support)
Selecting which key extensions to include in active_support/rails
made apparent the systematic usage of Object#in? in the code base.
After some discussion in

    5ea6b0df9a

we decided to remove it and use plain Ruby, which seems enough
for this particular idiom.

In this commit the refactor has been made case by case. Sometimes
include? is the natural alternative, others a simple || is the
way you actually spell the condition in your head, others a case
statement seems more appropriate. I have chosen the one I liked
the most in each case.
2012-08-06 00:30:02 +02:00
..
middleware_stack make sure string keys are always looked up from the class cache 2011-03-02 10:11:28 -08:00
request Fix build 2012-06-13 20:21:35 -03:00
routing Rename RouteInspector to RoutesInspector 2012-07-08 13:49:15 -03:00
session testing session store behavior 2012-05-02 17:29:33 -07:00
callbacks_test.rb ActionDispatch: add missing test for callbacks 2012-02-16 15:58:58 +02:00
cookies_test.rb Dont stream back cookie value if it was set to the same value 2012-04-30 17:04:17 +04:00
debug_exceptions_test.rb Raise ActionController::BadRequest for malformed parameter hashes. 2012-05-20 19:07:04 +01:00
header_test.rb Enable ActionDispatch::Http::Headers to support fetch 2012-05-02 11:22:34 -07:00
live_response_test.rb freeze the header object 2012-07-29 21:43:06 -07:00
mapper_test.rb Raise a helpful error message on #mount misuse 2012-07-10 16:17:02 -07:00
middleware_stack_test.rb Add the #unshift method to the middleware stack 2012-05-18 16:41:52 +10:00
mime_type_test.rb Prevent conflict between mime types and Object methods 2012-07-06 20:38:23 +02:00
mount_test.rb Add passing tests for generating URLs with nested SCRIPT_NAMEs 2012-05-07 14:53:57 -07:00
prefix_generation_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
rack_cache_test.rb Dump and load rack-cache stuff. 2011-05-17 17:33:17 -04:00
rack_test.rb
reloader_test.rb Use a BodyProxy instead of including a Module that responds to close. 2012-01-13 19:46:13 -02:00
request_id_test.rb Remove default match without specified method 2012-04-24 22:52:26 -05:00
request_test.rb Remove ActionDispatch::Head middleware in favor of Rack::Head 2012-07-23 14:34:13 -03:00
response_test.rb adding a buffered stream to the response object 2012-07-29 15:51:21 -07:00
routing_assertions_test.rb Raise Assertion instead of RoutingError for routing assertion failures. 2012-05-20 06:21:32 -05:00
routing_test.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
show_exceptions_test.rb Removed unused assigns from ActionView::Template::Error 2012-01-20 20:13:29 +04:00
ssl_test.rb Fix secure cookies when there are more than one space before the secure 2012-03-19 16:31:57 -03:00
static_test.rb fix ArgumentError being raised in case of invalid byte sequences 2012-03-08 20:41:25 +09:00
test_request_test.rb Fix bug when Rails.application is defined but is nil. See #881 2012-05-21 15:24:18 -04:00
test_response_test.rb
uploaded_file_test.rb adds delegetion for eof? to AD::Http::UploadedFile 2012-03-27 22:53:33 +02:00
url_generation_test.rb Add passing tests for generating URLs with nested SCRIPT_NAMEs 2012-05-07 14:53:57 -07:00