Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove redundant blank line at the bottom of the generated controller test | yuuji.yaginuma | 2019-06-07 | 1 | -1/+1 |
| | |||||
* | Use .tt extension to all the template files | Rafael Mendonça França | 2017-11-13 | 1 | -0/+0 |
| | | | | | | | | Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878. | ||||
* | Remove frozen_string_literal magic comment from templates | yuuji.yaginuma | 2017-09-17 | 1 | -2/+0 |
| | | | | Follow up of #30348 | ||||
* | Adding frozen_string_literal pragma to Railties. | Pat Allan | 2017-08-14 | 1 | -0/+2 |
| | |||||
* | make generated controller test work correctly | yuuji.yaginuma | 2016-01-06 | 1 | -1/+1 |
| | | | | | | | Since the `#file_name` that not consideration for the namespace, if generate a controller with a namespace, not the correct url helper generation, it had become an error to run the test. Modified to generate the correct url helper, even if it is produced a namespace with controller. | ||||
* | Update test generators to use ActionDispatch::IntegrationTest | Abdelkader Boudih | 2015-12-15 | 1 | -5/+3 |
| | | | | | | | | | | | | 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 | 1 | -2/+2 |
| | | | | | | | | | 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 | 1 | -2/+2 |
| | | | | ControllerTest | ||||
* | fix NoMethodError that occurs when generating scaffold inside full mode engine | yuuji.yaginuma | 2015-06-28 | 1 | -1/+1 |
| | |||||
* | set engine's route in the functional test is generated in the engine | yuuji.yaginuma | 2015-05-31 | 1 | -0/+6 |
| | |||||
* | for ... in => .each | Akira Matsuda | 2011-05-18 | 1 | -1/+1 |
| | | | | I believe this is more modern way | ||||
* | Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵ | David Heinemeier Hansson | 2011-04-23 | 1 | -4/+3 |
| | | | | just show how its done | ||||
* | Add namespace for test_unit generators | Piotr Sarnacki | 2010-09-25 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Load generators from both lib/rails/generators and lib/generators. Using the ↵ | José Valim | 2010-03-23 | 1 | -0/+18 |
| | | | | former since it's less obstrusive. | ||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -8/+0 |
| | | | | rspec:install generator, you need generators/rspec/install_generator in your load path. | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -0/+8 |