aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3262 from subdigital/masterJosé Valim2011-10-091-1/+21
|\ | | | | Add optional host option to force_ssl
| * accept optional :host parameter to force_sslBen Scheirman2011-10-081-1/+21
| |
* | Merge pull request #3196 from avakhov/patch-am-av-tests-2José Valim2011-10-091-0/+16
|\ \ | | | | | | Improve tests method for ActionView::TestCase and ActionMailer::TestCase
| * | normalize arg for ActionView::TestCase tests methodAlexey Vakhov2011-10-031-0/+16
| | |
* | | Fixes an issue when creating a date select with too many options.Liborio Cannici2011-10-081-0/+9
| |/ |/| | | | | | | | | | | | | | | | | Inspired by dlt https://github.com/dlt/rails/commit/9e615634745dc81598e7b880d52411338d3a7a93 Closes #239. Conflicts: actionpack/CHANGELOG
* | just check to see that the first item in the list is an arrayAaron Patterson2011-10-071-0/+9
| |
* | stylesheet_link_tag('/stylesheets/application') and similar helpers doesn't ↵Santiago Pastorino2011-10-051-0/+5
| | | | | | | | throw Sprockets::FileOutsidePaths exception anymore
* | Do not require railtie as it messes up Rails.application setup.José Valim2011-10-051-2/+1
| |
* | Fix the lame config.action_controller.present? check scattered throughout ↵José Valim2011-10-051-6/+9
| | | | | | | | | | | | | | | | assets_path. Conflicts: actionpack/test/template/sprockets_helper_test.rb
* | Ensure default_asset_host_protocol is respected, closes #2980.José Valim2011-10-051-2/+4
| |
* | :subdomain can now be specified with a value of false in url_for, allowing ↵Kamil Sobieraj2011-10-042-0/+15
|/ | | | for subdomain(s) removal from the host during link generation. Closes #2025
* normalize arg for AC::TestCase tests class methodAlexey Vakhov2011-10-031-0/+16
|
* TestCase should respect the view_assigns API instead of pulling variables on ↵José Valim2011-10-021-0/+20
| | | | its own.
* javascript_path and stylesheet_path should honor the asset pipeliningSantiago Pastorino2011-09-281-2/+18
|
* Make button_to helper support "form" option which is the form attributes.Wen-Tien Chang2011-09-291-0/+4
|
* Correctly override image_path in sprockets rails_helperChristos Zisopoulos2011-09-261-0/+8
|
* Just assert_equal hereSantiago Pastorino2011-09-261-1/+1
|
* Merge pull request #3135 from christos/respect_assets_digest_valueSantiago Pastorino2011-09-261-0/+8
|\ | | | | Give precedence to `config.digest = false` over the existence of manifest.yml asset digests
| * Give precedence to `config.digest = false` over manifest.yml asset digestsChristos Zisopoulos2011-09-261-0/+8
| |
* | image_tag should use /assets if asset pipelining is turned on. Closes #3126Santiago Pastorino2011-09-261-0/+4
|/
* fix deprecation warning in cookie_store_testVijay Dev2011-09-251-1/+1
| | | | The options argument to MessageVerifier#initialize should be a hash.
* Implement Mime::Type#respond_to? (consistently with #method_missing)Evgeniy Dolzhenko2011-09-251-0/+2
|
* Merge pull request #3124 from avakhov/patch-6-stylesheet-linkJosé Valim2011-09-251-0/+4
|\ | | | | escape options for the stylesheet_link_tag method
| * escape options for the stylesheet_link_tag methodAlexey Vakhov2011-09-251-0/+4
| |
* | Add public API for register new js and css compressors for SprocketsGuillermo Iguaran2011-09-241-0/+29
|/
* Revert "Make process reuse the env var passed as argument"Santiago Pastorino2011-09-241-6/+5
| | | | This reverts commit 0e4748cd415660eb91e63d50aa15cdd027c612dd.
* Merge pull request #3092 from asee/masterSantiago Pastorino2011-09-231-0/+10
|\ | | | | Sprockets to use config.assets.prefix, with tests
| * Fixes #1489 again, with updated code and numerous tests to confirmdocunext2011-09-221-0/+10
| |
* | Fix failing tests and add tests for :formats on partial.José Valim2011-09-231-5/+10
| |
* | Allow both sym and array for details options in #render. using ↵Nick Sutterer2011-09-231-0/+3
| | | | | | | | LC#registered_details to extract options.
* | added tests for render :file/:template and the :formats/:handlers/:locale ↵Nick Sutterer2011-09-233-1/+19
| | | | | | | | options.
* | Deprecate passing the template handler in the template name.José Valim2011-09-2210-65/+63
| | | | | | | | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
* | Get rid of update_details in favor of passing details to find_template.José Valim2011-09-225-19/+16
| |
* | it is now possible to pass details options (:formats, :details, :locales, ↵Nick Sutterer2011-09-223-0/+8
| | | | | | | | ...) to #render, #find_template and friends. this doesn't change anything in global context.
* | Fix named routes modifying argumentsPawel Pierzchala2011-09-221-0/+11
|/
* Allow asset tag helper methods to accept :digest => false option in order to ↵Santiago Pastorino2011-09-141-16/+28
| | | | completely avoid the digest generation.
* Merge pull request #2964 from msgehard/silence_warningsSantiago Pastorino2011-09-141-9/+2
|\ | | | | Silence Ruby warnings about uninitialized instance variable.
| * Silence Ruby warnings about uninitialized instance variable.Mike Gehard2011-09-091-9/+2
| |
* | Merge pull request #2977 from guilleiguaran/fix-relative-root-in-assetsSantiago Pastorino2011-09-121-0/+7
|\ \ | | | | | | Set relative url root in assets when controller isn't available for Sprockets
| * | Set relative url root in assets when controller isn't available for ↵Guillermo Iguaran2011-09-131-0/+7
| | | | | | | | | | | | | | | | | | Sprockets. Fix #2435 See https://github.com/rails/sass-rails/issues/42 for details
* | | all routes can be stored in the Journey Routes objectAaron Patterson2011-09-122-1/+2
|/ /
* | Merge pull request #2974 from md5/csrf_token_warningSantiago Pastorino2011-09-101-1/+1
|\ \ | | | | | | Use ensure instead of rescue
| * | Use ensure instead of rescueMike Dillon2011-09-101-1/+1
| | |
* | | Merge pull request #2972 from md5/masterAaron Patterson2011-09-101-0/+16
|\| | | | | | | | Use log.warn instead of debug for CSRF token warning
| * | Add test for warning and CHANGELOG entryMike Dillon2011-09-101-0/+16
| |/
* / No need to use </form> here. It's already in whole_form blockArun Agrawal2011-09-101-2/+1
|/
* Pull up a method we only use once.Aaron Patterson2011-09-081-5/+1
|
* Conditions must never be equalAaron Patterson2011-09-081-6/+1
|
* Merge pull request #2499 from akaspick/assert_select_email_fixJon Leighton2011-09-071-0/+19
|\ | | | | Fix assert_select_email to work on non-multipart emails as well as converting the Mail::Body to a string to prevent errors.
| * fix assert_select_email to work on non-multipart emails as well as ↵Andrew Kaspick2011-08-111-0/+19
| | | | | | | | converting the Mail::Body to a string to prevent errors.