aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Disable jbuilder for Rails API apps, meanwhile it doesn't play nicelySantiago Pastorino2015-06-111-0/+1
|
* Add test to show api only apps allow overriding generator optionsSantiago Pastorino2015-06-111-0/+16
|
* Add config.api_only = true to config/application.rb when using rails new --apiSantiago Pastorino2015-06-111-0/+4
|
* config.api_only = true implies config.generators.api_only = trueSantiago Pastorino2015-06-112-2/+1
|
* Do not generate lib/assets directory for api appsSantiago Pastorino2015-06-111-1/+1
|
* Api apps scaffold does not generate assetsSantiago Pastorino2015-06-112-1/+7
|
* Api apps scaffold does not generate helpersSantiago Pastorino2015-06-112-1/+5
|
* Api apps scaffold does not generate viewsSantiago Pastorino2015-06-112-1/+9
|
* Add api scaffold test for route, controller and its testsSantiago Pastorino2015-06-111-0/+55
|
* API apps scaffold generator generates an apropriate controllerSantiago Pastorino2015-06-112-0/+67
|
* config.generators.api_only = true set rails api option on generatorsSantiago Pastorino2015-06-111-1/+2
|
* Api apps scaffold generates routes without new and edit actionsSantiago Pastorino2015-06-111-0/+6
|
* Hide assets, helper, css and js namespaces for api only appsSantiago Pastorino2015-06-111-0/+15
|
* Do not generate test/helpers directory for api appsSantiago Pastorino2015-06-111-0/+1
|
* Do not generate app/views directory for api appsSantiago Pastorino2015-06-111-0/+1
|
* Do not generate app/helpers directory for api appsSantiago Pastorino2015-06-111-0/+1
|
* Do not generate app/assets directory for api appsSantiago Pastorino2015-06-111-1/+2
|
* Generate appropriate initializers for an api appSantiago Pastorino2015-06-111-1/+8
|
* rails new --api generates an api app skeletonSantiago Pastorino2015-06-111-0/+76
|
* 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
* add option to avoid generating scaffold.cssmasarakki2015-06-091-0/+14
|
* Merge pull request #19571 from kaspth/improve-runner-integrationYves Senn2015-06-083-138/+142
|\ | | | | | | Improve Test Runner's Minitest integration.
| * Improve test runner's Minitest integration.Kasper Timm Hansen2015-06-043-138/+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.
* | | Removed duplicate test cases for template execution Ronak Jangir2015-06-041-9/+0
| |/ |/|
* | 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 #20387 from y-yagi/fix_engine_generated_controller_testYves Senn2015-06-022-0/+25
|\ \ | | | | | | | | | set engine's route in the functional test is generated in the engine
| * | add test to run generated test files inside mountable engineyuuji.yaginuma2015-06-023-16/+25
| | |
| * | add engine's namespace to fixture nameyuuji.yaginuma2015-05-311-0/+1
| | |
| * | set engine's route in the functional test is generated in the engineyuuji.yaginuma2015-05-311-0/+15
| | |
* | | Merge pull request #20357 from ronakjangir47/remove_mocha1Rafael Mendonça França2015-06-011-27/+52
|\ \ \ | | | | | | | | Removed use of mocha from railties actions_test
| * | | Removed use of mocha from railties actions_testRonak Jangir2015-06-011-27/+52
| |/ /
* | | 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.
* | | Generate a `.keep` file in `tmp` folderYoong Kang Lim2015-05-301-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of scripts assumes the existence of this folder and most would fail if it is absent. One example of this is `rake restart` (before the previous commit) – it tries to `touch tmp/restart.txt`, which would fail if `tmp` does not exist, which was the case for a freshly-cloned project as `tmp` is `.gitignored` by default. See #20299. [Yoong Kang Lim, Sunny Juneja]
* | | `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
* | | Fix file nameRafael Mendonça França2015-05-271-1/+1
| | | | | | | | | | | | This is a leftover of #19867
* | | Merge pull request #19867 from radar/rename-app-rails-loaderRafael Mendonça França2015-05-271-8/+8
|\ \ \ | |/ / |/| | Remove redundant 'Rails' from Rails::AppRailsLoader constant
| * | Remove redundant 'Rails' from Rails::AppRailsLoader constantRyan Bigg2015-05-211-8/+8
| | |
* | | Merge pull request #20248 from ronakjangir47/remove_mochaRafael Mendonça França2015-05-251-18/+34
|\ \ \ | | | | | | | | Remove use of mocha in the railties generators tests