Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-12-20 | 1 | -2/+2 |
|\ | |||||
| * | remove extra spaces in fixtures doc part | Gaurav Sharma | 2015-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | ``` Every time when a fixture generate, it’s also generating improper doc. one: {} # column: value # two: {} # column: value ``` | ||||
* | | fix indentation of generated controller test | yuuji.yaginuma | 2015-12-18 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ``` # before module Bukkits class UsersControllerTest < ActionDispatch::IntegrationTest include Engine.routes.url_helpers setup do @user = bukkits_users(:one) end ``` ``` # after module Bukkits class UsersControllerTest < ActionDispatch::IntegrationTest include Engine.routes.url_helpers setup do @user = bukkits_users(:one) end ``` | ||||
* | | Deal with leading CR when its not a mountable engine | David Heinemeier Hansson | 2015-12-17 | 1 | -1/+1 |
| | | |||||
* | | Update test generators to use ActionDispatch::IntegrationTest | Abdelkader Boudih | 2015-12-15 | 3 | -25/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | In Rails 5.1 `ActionController::TestCase` will be moved out of Rails into it's own gem. Please use `ActionDispatch::IntegrationTest` going forward. This changes the generators to use `ActionDispatch::IntegrationTest` and the required URL setup (rather than symbols) for each of the controller actions. Updated fix to #22076. | ||||
* | | Revert "Merge pull request #22569 from seuros/remove-test-case" | eileencodes | 2015-12-13 | 3 | -17/+16 |
| | | | | | | | | | | | | | | | | | | This reverts commit 9712a7a12b7f9e4dcef751ceda8a73c3f4beb11f, reversing changes made to 3e65c3d3886336e9145438cdeacaf4ebec6a48b8. Reverting because this caused test failures and while we have a followup branch there is still one failure that happens randomly and isn't straight forward to fix. | ||||
* | | Controller generators should be creating IntegrationTest stubs instead of ↵ | Abdelkader Boudih | 2015-12-13 | 3 | -16/+17 |
|/ | | | | ControllerTest | ||||
* | make generated scaffold functional tests work inside API engines | yuuji.yaginuma | 2015-08-09 | 1 | -1/+4 |
| | | | | | * set engine's route in setup * use fixture with engine namespace | ||||
* | fix NoMethodError that occurs when generating scaffold inside full mode engine | yuuji.yaginuma | 2015-06-28 | 3 | -3/+3 |
| | |||||
* | assigns was removed from Rails | Rafael Mendonça França | 2015-06-11 | 1 | -1/+0 |
| | |||||
* | Make Rails API apps return the full resource on update | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Fix class_option description for api generators | Santiago Pastorino | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | API apps scaffold generator generates an apropriate controller | Santiago Pastorino | 2015-06-11 | 2 | -1/+46 |
| | |||||
* | Merge pull request #20387 from y-yagi/fix_engine_generated_controller_test | Yves Senn | 2015-06-02 | 3 | -1/+19 |
|\ | | | | | | | set engine's route in the functional test is generated in the engine | ||||
| * | add engine's namespace to fixture name | yuuji.yaginuma | 2015-05-31 | 2 | -1/+10 |
| | | |||||
| * | set engine's route in the functional test is generated in the engine | yuuji.yaginuma | 2015-05-31 | 2 | -0/+9 |
|/ | |||||
* | Removed `assigns` from functional_test templates | Prathamesh Sonpatki | 2015-05-02 | 1 | -3/+2 |
| | | | | | - Based on DHH's suggestion about deprecating `assigns` in https://github.com/rails/rails/pull/18305#issuecomment-68605166. | ||||
* | respect `pluralize_table_names` when generate fixture file. fixes #19519 | yuuji.yaginuma | 2015-03-27 | 1 | -1/+1 |
| | |||||
* | add mailer suffix to comments for email previews | yuuji.yaginuma | 2015-03-15 | 1 | -2/+2 |
| | |||||
* | Merge pull request #18393 from y-yagi/fix_mailer | Rafael Mendonça França | 2015-02-18 | 2 | -1/+6 |
|\ | | | | | follow up to #18074 | ||||
| * | follow up to #18074 | yuuji.yaginuma | 2015-01-08 | 2 | -1/+6 |
| | | | | | | | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files | ||||
* | | scaffold controller_test template should use kwargs. refs #18323. | Yves Senn | 2015-01-30 | 1 | -5/+5 |
|/ | | | | This prevents a flood of warnings when generating a new scaffold. | ||||
* | Add mailer suffix to generated files and classes | Carlos Souza | 2015-01-06 | 3 | -6/+6 |
| | | | | | Following the same naming convention used in controllers and jobs. | ||||
* | Generated fixtures won't use parent_id when generated with parent:references | Pablo Olmos de Aguilera Corradini | 2015-01-02 | 1 | -0/+2 |
| | | | | Fix #18301 | ||||
* | correct filename for jobs tests | Abdelkader Boudih | 2014-09-28 | 1 | -1/+1 |
| | |||||
* | Change ActiveJob test directory to "test/jobs" | yuuji.yaginuma | 2014-09-13 | 1 | -1/+1 |
| | |||||
* | Remove extra newline from ActiveJob test template | yuuji.yaginuma | 2014-09-09 | 1 | -1/+0 |
| | |||||
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -1/+0 |
| | |||||
* | [ActiveJob] TestCase | Abdelkader Boudih | 2014-09-02 | 1 | -1/+3 |
| | |||||
* | [ActiveJob] Add hook for test_framework and test templates | Abdelkader Boudih | 2014-08-22 | 2 | -0/+22 |
| | |||||
* | Bring back the helpers tests | José Valim | 2014-08-05 | 1 | -0/+9 |
| | | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails. | ||||
* | Generating stubs for helper tests is overly specific. Most helpers should ↵ | David Heinemeier Hansson | 2014-08-03 | 2 | -19/+0 |
| | | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them | ||||
* | Add comments with urls for email previews | Andrew White | 2013-12-22 | 1 | -0/+2 |
| | |||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 2 | -1/+19 |
| | |||||
* | Revert "Rename not Ruby files to .tt" | Santiago Pastorino | 2013-12-10 | 6 | -0/+0 |
| | | | | | | This reverts commit bd360ad3c1d59273bf96ea01b17cf04285816dc2. Reverting this for now until we fix the Thor related issue | ||||
* | Rename not Ruby files to .tt | Santiago Pastorino | 2013-12-10 | 6 | -0/+0 |
| | |||||
* | Added generated unit test for generator generator and new test:generators ↵ | Josef Šimánek | 2013-07-16 | 2 | -0/+42 |
| | | | | rake task included in test:all rake task. | ||||
* | Update a broken link into the fixtures' template | Robin Dupret | 2013-06-29 | 1 | -1/+1 |
| | |||||
* | Add support for generate scaffold password:digest | Sam Ruby | 2013-03-13 | 2 | -10/+12 |
| | | | | | | | | | | * adds password_digest attribute to the migration * adds has_secure_password to the model * adds password and password_confirmation password_fields to _form.html * omits password entirely from index.html and show.html * adds password and password_confirmation to the controller * adds unencrypted password and password_confirmation to the controller test * adds encrypted password_digest to the fixture | ||||
* | extract PerformanceTest into rails-performance_tests gem | Yves Senn | 2013-01-10 | 2 | -25/+0 |
| | |||||
* | test PATCH method for update action in generated scaffold controller test ↵ | Akira Matsuda | 2013-01-03 | 1 | -1/+1 |
| | | | | rather than PUT | ||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | ||||
* | quote column names in generated fixture files | Yves Senn | 2012-12-26 | 2 | -4/+16 |
| | |||||
* | Make sure that no extra spaces are created with a non-polymorphic | Rafael Mendonça França | 2012-12-10 | 1 | -2/+6 |
| | | | | attributes | ||||
* | Add GeneratedAttribute#column_name to get the name of the column in the | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 |
| | | | | database | ||||
* | Extract a attributes_names method to avoid duplication | Rafael Mendonça França | 2012-12-10 | 1 | -12/+4 |
| | |||||
* | Deal with polymorphic attributes correctly in the generators | Rafael Mendonça França | 2012-12-10 | 2 | -5/+13 |
| | |||||
* | Make references and belongs_to attributes to generate the _id column in | Rafael Mendonça França | 2012-12-10 | 1 | -2/+2 |
| | | | | fixtures | ||||
* | Put the reference and belongs_to attributes in the scaffold tests. | Rafael Mendonça França | 2012-12-10 | 1 | -6/+3 |
| | |||||
* | Remove observers and sweepers | Rafael Mendonça França | 2012-11-28 | 2 | -22/+0 |
| | | | | | | | | They was extracted from a plugin. See https://github.com/rails/rails-observers [Rafael Mendonça França + Steve Klabnik] |