Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move the mime registration code to setup so that | Neeraj Singh | 2010-11-22 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | it could be cleaned up on teardown. Currently the test code test/controller/mime_responds_test.rb impacts test/dispatch/mime_type_test.rb. dispatch/mime_type_test.rb runs independently fine but when run as part of rake breaks because of new mime types registered in controller/mime_responds_test.rb Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | do not assume that there is no space between | Neeraj Singh | 2010-11-22 | 1 | -0/+4 |
| | | | | | | leading */* and comma Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | failing test for #6022 | Neeraj Singh | 2010-11-22 | 1 | -0/+34 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | current code ignores http header "Accept" if it | Neeraj Singh | 2010-11-22 | 1 | -0/+6 |
| | | | | | | | | | | | has ....,*/* . It is possible to a device to send request such that */* appear at the beginning of the "Accept" header. This patch ensures that "Accept" header is ignored for such cases too. Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | realigns a series of hash arrows | Xavier Noria | 2010-11-21 | 1 | -10/+10 |
| | |||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 1 | -3/+3 |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | ||||
* | fix warning during test execution | Neeraj Singh | 2010-11-17 | 1 | -1/+1 |
| | | | | | | [#5997 state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Anchors should be allowed on constraints that are not on path segments | Carl Lerche | 2010-11-16 | 1 | -0/+8 |
| | |||||
* | make sure we are only doing sanity checking against regular expressions | Aaron Patterson | 2010-11-15 | 1 | -0/+8 |
| | |||||
* | Make after_filter halt when before_filter renders or redirects [#5648 ↵ | Marcelo Giorgi | 2010-11-11 | 1 | -2/+79 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Added support for Erubis <%== tag | Jan Maurits Faber | 2010-11-08 | 1 | -0/+10 |
| | | | | | | | <%== x %> is syntactic sugar for <%= raw(x) %> Signed-off-by: Michael Koziarski <michael@koziarski.com> [#5918 status:committed] | ||||
* | Fix problems trying to functional test AC::Metal controllers | Santiago Pastorino | 2010-11-06 | 1 | -0/+7 |
| | | | | [#5393 state:committed] | ||||
* | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 1 | -0/+16 |
| | | | | a single hash argument as the resource instead of as options. | ||||
* | Reset assert_template instance variables between requests [#5832 state:resolved] | Andrew White | 2010-10-18 | 1 | -0/+8 |
| | |||||
* | in regexps, the dot in a character class is not a metacharacter | Xavier Noria | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Remove :cache => true on lookup templates initialization. | José Valim | 2010-10-14 | 1 | -10/+1 |
| | |||||
* | render :once should consider the current controller prefix. | José Valim | 2010-10-14 | 1 | -7/+30 |
| | |||||
* | Return a valid empty JSON on successful PUT and DELETE requests. [#5199 ↵ | Szymon Nowak | 2010-10-12 | 1 | -0/+19 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Use identifiers for template equality. | José Valim | 2010-10-10 | 1 | -9/+8 |
| | |||||
* | Add support to render :once. | José Valim | 2010-10-10 | 1 | -0/+73 |
| | | | | This will be used internally by sprockets to ensure requires are executed just once. | ||||
* | Fix a few bugs when trying to use Head standalone | wycats | 2010-10-10 | 1 | -0/+15 |
| | |||||
* | Deprecate old template handler API. Remove old handlers. | José Valim | 2010-10-10 | 2 | -21/+21 |
| | |||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 1 | -1/+12 |
| | |||||
* | render :template => 'foo/bar.json' now works as it should. | José Valim | 2010-10-07 | 2 | -3/+29 |
| | |||||
* | fixing a few test warnings | Aaron Patterson | 2010-10-04 | 1 | -2/+2 |
| | |||||
* | moving fake model to the correct file | Aaron Patterson | 2010-10-03 | 1 | -13/+0 |
| | |||||
* | Move ETag and ConditionalGet logic from AD::Response to the middleware stack. | José Valim | 2010-10-03 | 2 | -164/+0 |
| | |||||
* | removing more duplicate code. :'( | Aaron Patterson | 2010-10-01 | 1 | -13/+1 |
| | |||||
* | fixing warnings with regexps on assert_match | Aaron Patterson | 2010-10-01 | 1 | -2/+2 |
| | |||||
* | removing more duplicate code | Aaron Patterson | 2010-10-01 | 1 | -16/+0 |
| | |||||
* | delete repeated code | Aaron Patterson | 2010-10-01 | 1 | -18/+0 |
| | |||||
* | use a method that actually exists | Aaron Patterson | 2010-10-01 | 1 | -1/+1 |
| | |||||
* | fixing space error | Aaron Patterson | 2010-09-29 | 1 | -1/+1 |
| | |||||
* | We can't assign @view_context_class here, define super() in test instead if ↵ | Emilio Tagua | 2010-09-29 | 1 | -0/+1 |
| | | | | we want to avoid warnings. | ||||
* | _ is not a valid scheme name character, \w includes it and also is redundant ↵ | Emilio Tagua | 2010-09-29 | 1 | -0/+7 |
| | | | | | | with \d. 'The scheme name consists of a letter followed by any combination of letters, digits, and the plus ("+"), period ("."), or hyphen ("-") characters; and is terminated by a colon (":").' | ||||
* | Test correct method behaviour. | Emilio Tagua | 2010-09-29 | 1 | -1/+5 |
| | |||||
* | Merge remote branch 'miloops/warnings' | José Valim | 2010-09-29 | 8 | -4/+20 |
|\ | |||||
| * | Remove methods to avoid warnings. | Emilio Tagua | 2010-09-28 | 1 | -0/+2 |
| | | |||||
| * | Redefine duplicated test name. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | | |||||
| * | Remove more warnings on AP. | Emilio Tagua | 2010-09-28 | 1 | -1/+1 |
| | | |||||
| * | Define @title to avoid warnings. | Emilio Tagua | 2010-09-28 | 1 | -0/+4 |
| | | |||||
| * | Use instance_variable_defined? instead instance_variable_get in tests. | Emilio Tagua | 2010-09-28 | 1 | -2/+2 |
| | | |||||
| * | Initialize ivars in tests. | Emilio Tagua | 2010-09-28 | 3 | -0/+3 |
| | | |||||
| * | Remove more warnings by initializing variables in test. | Emilio Tagua | 2010-09-28 | 1 | -0/+6 |
| | | |||||
| * | Remove more warnings: no need to define attr_accessor if already exists. ↵ | Emilio Tagua | 2010-09-28 | 1 | -0/+1 |
| | | | | | | | | Initialize ivar. | ||||
* | | renderer calls object.to_json when rendering :json => object [#5655 ↵ | Diego Carrion | 2010-09-27 | 1 | -0/+13 |
|/ | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Rename duplicated test name. | Emilio Tagua | 2010-09-27 | 1 | -1/+1 |
| | |||||
* | Fix indentation. | Emilio Tagua | 2010-09-27 | 1 | -19/+18 |
| | |||||
* | Use parentheses when using assert_match followed by a regexp to avoid warnings. | Emilio Tagua | 2010-09-27 | 7 | -24/+24 |
| | |||||
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 6 | -17/+18 |
| | | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController. |