aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Rely on the load interlock for non-caching reloads, tooMatthew Draper2015-07-091-7/+7
| |
* | Soften the lock requirements when eager_load is disabledMatthew Draper2015-07-091-4/+21
|/ | | | | We don't need to fully disable concurrent requests: just ensure that loads are performed in isolation.
* Display a more human readable list of reserved namesRobin Dupret2015-07-012-2/+2
| | | | | Interpolating an array inside a String will call #inspect on it. Let's call #join to display a more human-readable error message.
* `dump_schema_after_migration` applies migration tasks other than db:migrateYves Senn2015-06-301-6/+8
| | | | | | | | | | | | | Closes #20743. The task `db:_dump` now only dumps the schema if `ActiveRecord::Base.dump_schema_after_migration` is true. This has effects: - `db:migrate:up` - `db:migrate:down` - `db:forward` - `db:rollback`
* tests, railties tests should use `bin/` executables when possible.Yves Senn2015-06-309-121/+121
| | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path.
* fix NoMethodError that occurs when generating scaffold inside full mode engineyuuji.yaginuma2015-06-282-0/+25
|
* cherry-pick test and source doc from #20050Hirofumi Wakasugi2015-06-251-0/+8
|
* do not show "Failed tests" message when a failed test is notyuuji.yaginuma2015-06-231-0/+1
|
* remove unused variable in reporter testyuuji.yaginuma2015-06-221-1/+0
|
* Merge pull request #20605 from dcrec1/assert_fileYves Senn2015-06-192-1/+9
|\ | | | | | | assert_file understands paths with special characters
| * assert_file understands paths with special charactersDiego Carrion2015-06-182-1/+9
| | | | | | fixes #20042
* | fix railties testsMehmet Emin İNAÇ2015-06-181-2/+2
|/
* make it possible to customize the executable inside rereun snippets.Yves Senn2015-06-131-0/+14
| | | | | | | | | | | | | | | | | | | In the Rails repository we use a `bin/test` executable to run our tests. However the rerun snippets still included `bin/rails test`: BEFORE: ``` Failed tests: bin/rails test test/cases/adapters/postgresql/schema_test.rb:91 ``` AFTER: ``` Failed tests: bin/test test/cases/adapters/postgresql/schema_test.rb:91 ```
* Fix failing tests for Rails-APISean Griffin2015-06-111-1/+1
| | | | This looks to be just out of sync tests
* Enable wrap_parameter by default in rails api applicationsJorge Bejar2015-06-111-3/+1
|
* Add rake-cors gem (commented) in Gemfile for rails api appsJorge Bejar2015-06-111-0/+3
|
* Add AMS 0.10.0.rc1 by default for api appsSantiago Pastorino2015-06-111-0/+1
|
* Fix scaffold generator test for resource routesSantiago Pastorino2015-06-111-1/+1
|
* Api only apps should include tmp and vendor foldersJorge Bejar2015-06-111-0/+2
|
* Routes resources avoid :new and :edit endpoints if api_only is enabledJorge Bejar2015-06-111-6/+0
|
* Use new hash syntaxSantiago Pastorino2015-06-111-1/+1
|
* 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