aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining sprockets testsGuillermo Iguaran2012-03-131-28/+0
|
* Remove tests and fixtures for Sprockets on ActionPackGuillermo Iguaran2012-03-1314-409/+0
|
* add include_hidden option to checkbox tagSergey Nartimov2012-03-131-0/+5
|
* add 'include_hidden' option to select tag, closes #5402Vasiliy Ermolovich2012-03-131-0/+8
|
* Remove unused methodSantiago Pastorino2012-03-121-4/+0
|
* Merge pull request #5375 from nertzy/assert_template_with_regexpAaron Patterson2012-03-121-0/+6
|\ | | | | assert_template matches against Regexp
| * assert_template matches against RegexpGrant Hutchins2012-03-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for more strict template assertions, while maintaining backward compatibility. For example, if you use assert_template("foo/bar") and "foo/bar/baz" was rendered, the test passes. But if you use assert_template(%r{\Afoo/bar\Z}), you will catch that a different template was rendered. Also, if you passed an unsupported argument to assert_template() in the past, it would silently succeed. Now it raises an ArgumentError.
* | Merge pull request #5380 from benmmurphy/escape_unicode_paragraph_separatorAaron Patterson2012-03-121-0/+2
|\ \ | | | | | | ensure u2029 is escaped in escape_javascript helper
| * | ensure u2029 is escaped in escape_javascript helperbenmmurphy2012-03-111-0/+2
| | |
* | | Merge pull request #5366 from parndt/fix_issue_5324José Valim2012-03-112-165/+165
|\ \ \ | |/ / |/| | Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
| * | Fixes #5324 by removing default size options from input:text and default ↵Philip Arndt2012-03-102-165/+165
| | | | | | | | | | | | cols and rows options from textarea.
* | | Merge pull request #5326 from lest/patch-2Michael Koziarski2012-03-101-2/+2
|\ \ \ | |_|/ |/| | configure how unverified request will be handled
| * | configure how unverified request will be handledSergey Nartimov2012-03-091-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception
* | @controller already includes url_helpers in with_routing methodSantiago Pastorino2012-03-101-1/+0
| |
* | Add missing requireSantiago Pastorino2012-03-101-0/+1
| |
* | AbstractController.action_methods should return a SetSantiago Pastorino2012-03-101-1/+1
|/
* Add test case for #5307Carlos Antonio da Silva2012-03-071-2/+6
|
* Merge pull request #5310 from Serabe/layout_for_partials_with_collectionsJosé Valim2012-03-062-0/+5
|\ | | | | Adds :layout option to render :partial when a collection is given.
| * Adds :layout option to render :partial when a collection is given.Sergio Arbeo2012-03-062-0/+5
| |
* | Refactor AD::UploadedFile, and raise sooner if tempfile is not presentCarlos Antonio da Silva2012-03-061-1/+1
| |
* | Merge pull request #5298 from sikachu/master-fix-responderJosé Valim2012-03-061-0/+36
|\ \ | | | | | | Always passing a respond block from to responder
| * | Failing test for mime responder respond_with using a block.Mario Visic2012-03-051-0/+36
| |/
* / Compute asset paths from the request if ENV["RAILS_RELATIVE_URL_ROOT"] is ↵Dwayne Litzenberger2012-03-052-0/+103
|/ | | | | | | | | not set. This should fix the following issue: "Rails is not a Rack Application (SCRIPT_NAME vs. relative_url_root ?)" https://github.com/rails/rails/issues/910
* Merge pull request #5290 from steveklabnik/masterJosé Valim2012-03-051-0/+6
|\ | | | | Added parsing of arbitrary media type parameters.
| * Added parsing of arbitrary media type parameters.Steve Klabnik2012-03-051-0/+6
| | | | | | | | | | | | Based on #4918. Related to #4127.
* | force response body to be read in assert_templateSergey Nartimov2012-03-051-0/+13
|/
* Merge pull request #5269 from ↵Piotr Sarnacki2012-03-041-1/+0
|\ | | | | | | | | castlerock/remove_unwanted_require_karnel_reporting AS/kernel/reporting no where used in ts_isolated
| * AS/kernel/reporting no where used in ts_isolatedVishnu Atrai2012-03-041-1/+0
| |
* | Route root helper shortcutBrian Cardarella2012-03-031-0/+9
|/ | | | Allow the root route helper to accept just a string
* Merge pull request #5242 from rails/opt_routesJosé Valim2012-03-023-9/+9
|\ | | | | | | | | | | | | | | Optimize routes generation in simple cases. If you pass to the route helper the same amount of arguments as the required segments, route generation will be optimized as a string interpolation. After this commit, `post_path(post)` is about 6.5 times faster, `post_url(post)` is about 5 times.
| * Optimize url helpers.Sergey Nartimov + José Valim2012-03-023-9/+9
| |
* | Fix #5238, rendered_format is not set when template is not renderedPiotr Sarnacki2012-03-021-2/+6
| |
* | Allow fieldsets to be created without a block.Ben Pickles2012-03-011-0/+10
|/
* Merge branch 'master-security'Aaron Patterson2012-03-011-1/+8
|\ | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * fix output safety issue with select optionsSergey Nartimov2012-02-201-1/+8
| |
* | Merge pull request #5203 from avakhov/anonymous-controller-layoutAaron Patterson2012-02-291-0/+12
|\ \ | | | | | | Fix layout lookup for anonymous controller
| * | Fix layout lookup for anonymous controllerAlexey Vakhov2012-02-281-0/+12
| | |
* | | Merge pull request #5219 from ↵Aaron Patterson2012-02-291-0/+12
|\ \ \ | |/ / |/| | | | | | | | mattfawcett/2781-fix-querystring-route-constraint-for-testing Fix for #2781
| * | Fix the assert_recognizes test method so that it works when there areMatt Fawcett2012-02-241-0/+12
| | | | | | | | | | | | constraints on the querystring. Issue #2781
* | | Add a new line after the textarea opening tag.Rafael Mendonça França2012-02-272-37/+37
| | | | | | | | | | | | Closes #393
* | | Fix collection_check_boxes and collection_radio_buttons when using localRafael Mendonça França2012-02-261-0/+38
| | | | | | | | | | | | variables in the form builder
* | | Move all the helpers to protected sectionRafael Mendonça França2012-02-261-31/+31
| | |
* | | Adding tests for non-optional glob parametersAndrew White2012-02-261-2/+27
| | |
* | | Remove wrong and redundant code.kennyj2012-02-251-6/+4
| | |
* | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-242-69/+74
| | | | | | | | | | | | the update action of resources
* | | correct fetching :name option in form fieldsVasiliy Ermolovich2012-02-231-0/+5
|/ /
* | SSL should not be disabled by default in any environment.Pat Allan2012-02-231-14/+0
| |
* | Remove unused global variable in controller filters testAlexey Vakhov2012-02-231-2/+0
| |
* | add some tests, yay!Aaron Patterson2012-02-221-0/+31
| |
* | Merge pull request #5119 from kennyj/fix_5114Aaron Patterson2012-02-221-0/+26
|\ \ | | | | | | Testcase for GH #5114.