aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application
Commit message (Collapse)AuthorAgeFilesLines
...
* Api apps scaffold does not generate viewsSantiago Pastorino2015-06-111-0/+1
|
* API apps scaffold generator generates an apropriate controllerSantiago Pastorino2015-06-111-0/+20
|
* config.generators.api_only = true set rails api option on generatorsSantiago Pastorino2015-06-111-1/+2
|
* Hide assets, helper, css and js namespaces for api only appsSantiago Pastorino2015-06-111-0/+15
|
* Add AC::API + its middleware stack integration testSantiago Pastorino2015-06-111-0/+29
|
* Add config.api_only option to application and remove appropriate middleware ↵Santiago Pastorino2015-06-111-0/+27
| | | | when true
* Merge pull request #19571 from kaspth/improve-runner-integrationYves Senn2015-06-082-27/+142
|\ | | | | | | Improve Test Runner's Minitest integration.
| * Improve test runner's Minitest integration.Kasper Timm Hansen2015-06-042-27/+142
| | | | | | | | | | | | | | | | | | | | | | This also adds free mix and matching of directories, files and lines filters. Like so: bin/rails test models/post_test.rb test/integration models/person_test.rb:26 You can also mix in a traditional Minitest filter: bin/rails test test/integration -n /check_it_out/
* | Merge pull request #20444 from y-yagi/can_use_path_helper_method_in_consoleRafael Mendonça França2015-06-061-0/+12
|\ \ | | | | | | modify console of app method in that can use the path helpers
| * | modify console of app method in that can use the path helpersyuuji.yaginuma2015-06-051-0/+12
| | |
* | | Remove warning for setting eager_loadArun Agrawal2015-06-051-1/+1
| |/ |/| | | | | | | | | AppTemplate::Application.new does not run load hooks. To load this configuration we need to use create which will run load hooks to load this configuration.
* | Merge pull request #18587 from ↵Rafael Mendonça França2015-06-031-0/+13
|\ \ | |/ |/| | | | | | | chrismcg/allow_deliver_later_queue_name_to_be_configured Allow configuration of ActionMailer queue name
| * Allow configuration of ActionMailer queue nameChris McGrath2015-06-021-0/+13
| |
* | Merge pull request #20138 from tgxworld/deprecated_assert_templateRafael Mendonça França2015-06-011-1/+1
|\ \ | | | | | | Deprecate `assert_template` and `assigns()`.
| * | Remove `assigns` and `assert_template`.Guo Xiang Tan2015-05-301-1/+1
| | |
* | | Add test to ensure tmp:clear works when tmp is missingYoong Kang Lim2015-05-301-0/+7
| | | | | | | | | | | | See #20299.
* | | `rake restart` should work without a `tmp` folderYoong Kang Lim2015-05-301-2/+10
|/ / | | | | | | | | | | | | | | | | | | | | | | | | In restart.rake, the creation of tmp/restart.txt would fail if the tmp folder does not exist in the app. This is a problem because apps cloned using git would not have the tmp folder, as the folder is in .gitignore. This commit creates the tmp folder if it does not exist. Fixes #20299 [Yoong Kang Lim, Sunny Juneja]
* | Merge pull request #20017 from eliotsykes/configurable-static-index-filenameRafael Mendonça França2015-05-281-0/+21
|\ \ | | | | | | | | | config.static_index configures directory Index "index.html" filename
| * | config.static_index configures directory index "index.html" filenameEliot Sykes2015-05-281-0/+21
| | | | | | | | | | | | | | | | | | Set `config.static_index` to serve a static directory index file not named `index`. For example, to serve `main.html` instead of `index.html` for directory requests, set `config.static_index` to `"main"`.
* | | Deprecate `:nothing` option for render methodMehmet Emin İNAÇ2015-05-281-9/+9
|/ / | | | | | | `head` method works similar to `render` method with `:nothing` option
* | Merge pull request #20326 from hderms/dh/fix_task_bugRafael Mendonça França2015-05-271-0/+48
|\ \ | | | | | | | | | Fix rake method definition leaking onto Object
| * | add fixed fileDermot Haughey2015-05-271-0/+46
|/ / | | | | | | | | | | add framework_test add another test
* | removing unused and already required require'sAnkit Gupta2015-05-111-1/+0
| | | | | | | | | | custom test - Does not include EnvHelpers and the require is not needed path generation test - require abstract_unit which has . rails/all requires rails and corresponding
* | add test coverage for `bin/setup`.Yves Senn2015-05-061-0/+54
| | | | | | | | Make sure this script keeps working and has consistent output.
* | Fix constant in void context warningsAndrew White2015-05-051-2/+2
| |
* | Document inline image mailer preview interceptorAndrew White2015-05-042-7/+20
| | | | | | | | Explain what the interceptor is used for and how to remove it.
* | Fix railties configuration testAndrew White2015-05-041-2/+2
| |
* | Add support for inline images to mailer previewsAndrew White2015-05-041-6/+8
| | | | | | | | | | Use a preview interceptor to search for inline cid: urls in src attributes and convert them to data urls.
* | Fix mailer previews with attachmentsAndrew White2015-05-041-0/+190
| | | | | | | | | | | | Use the mail gem's own API to locate the correct part. Fixes #14435.
* | Remove unneeded base fileRafael Mendonça França2015-05-032-57/+53
| | | | | | | | We are only using for one test class
* | Merge pull request #19093 from ↵Rafael Mendonça França2015-05-031-0/+30
|\ \ | | | | | | | | | | | | remomueller/fix-actionmailer-preview-links-on-subdirectories Mailer preview now uses `url_for` to fix links to emails for apps runnin...
| * | Mailer preview now uses `url_for` to fix links to emails for apps running on ↵Remo Mueller2015-04-301-0/+30
| | | | | | | | | | | | a subdirectory, closes #19092.
* | | Removed `assigns` from functional_test templatesPrathamesh Sonpatki2015-05-021-2/+2
|/ / | | | | | | | | - Based on DHH's suggestion about deprecating `assigns` in https://github.com/rails/rails/pull/18305#issuecomment-68605166.
* | mailer previews for `NullMail` instances. Closes #19849.Yves Senn2015-04-281-0/+26
| |
* | Revert "Merge pull request #17920 from ↵Yves Senn2015-04-271-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calebthompson/dont-rely-on-environment-task-for-schema-load" This reverts commit 08ff4ccbbb3fb143a02e6752efb974a4bcfcd3bb, reversing changes made to 6c9ed6dbc62450cdb87559afd15798305e069146. Caused by #17920. Closes #19545. This patch introduced regressions because initializers were no longer loaded. Specifically missing inflections result in broken restores of the database.
* | Need to add config.assets.compile=true to access `.assets`Arthur Neves2015-04-261-0/+1
| | | | | | | | | | | | sprockets-rails will only add `Rails.application.assets` if compile is no false. See change on sprockets-rails https://github.com/rails/sprockets-rails/commit/d7c7ee19991c565eb77ee143be2d009ba4472122
* | assets:cache:clean wont clean cache anymoreArthur Neves2015-04-261-11/+0
| | | | | | | | | | See the behaviour change on sprockets-rails https://github.com/rails/sprockets-rails/commit/56725e5843662189c6701478f7598db306d5fb02
* | Merge pull request #19034 from jvanbaarsen/explicit-job-base-classMatthew Draper2015-03-301-1/+1
|\ \ | | | | | | | | | Add explicit base class for ActiveJob jobs
| * | Add explicit base class for ActiveJob jobsJeroen van Baarsen2015-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * Jobs generated now inherent from ApplicationJob * ApplicationJob inherents from ActiveJob::Base * Added entry to changelog Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* | | Test using sprockets 3Rafael Mendonça França2015-03-292-9/+9
| | |
* | | Revert "Merge pull request #19404 from dmathieu/remove_rack_env"Jeremy Kemper2015-03-202-0/+9
| | | | | | | | | | | | | | | | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103.
* | | Remove `#build_original_fullpath` methodeileencodes2015-03-201-27/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removing `#build_original_fullpath` because it is no longer used by the Rails' source code or called in the `#call` method becasue the previous commit now uses `fullpath` from Rack. The method was nodoc'ed so it's safe to remove. NOTE: I did this as a separate commit so if this does cause a problem with engines etc reverting is easy.
* | | Merge pull request #19404 from dmathieu/remove_rack_envAaron Patterson2015-03-192-9/+0
|\ \ \ | | | | | | | | Don't fallback to RACK_ENV when RAILS_ENV is not present
| * | | don't fallback to RACK_ENV when RAILS_ENV is not presentDamien Mathieu2015-03-192-9/+0
| |/ /
* | | run `test_test.rb` using the `bin/rails test`.Yves Senn2015-03-181-17/+1
| | |
* | | `-p`, `--pattern` to run tests using a pattern.Yves Senn2015-03-181-2/+1
| | |
* | | use `bin/rails t` runner in `test_runner_test.rb`.Yves Senn2015-03-181-24/+18
| | |
* | | Show the right file when test raisesArthur Neves2015-03-181-0/+1
|/ /
* | pass a config to the route setAaron Patterson2015-03-051-0/+13
| | | | | | | | | | This way we can get the relative_url_root from the application without setting another global value
* | Created rake restart task.Hyonjee Joo2015-02-261-0/+31
| | | | | | | | | | | | Fixes #18876. Rake restart touches `tmp/restart.txt` to restart application on next request. Updated tests and documentation accordingly.