rails/railties/test/generators
Andrew Novoselac 4d62ea3ed4
Update database.yml from DevcontainerGenerator
Postgresql's database.yml has devcontainer specific logic that should only appear when the app has a devcontainer. We need the DevcontainerGenerator to update database.yml, so when it is called by the devcontainer command the database.yml will have the right configuration.

This commit also fixes db:system:change to make sure it updates the database.yml with the correct devcontainer configuration.
2024-05-23 18:43:22 +00:00
..
action_mailbox_install_generator_test.rb Added test cases for Action Mailbox generator 2020-11-30 23:15:41 +05:30
action_text_install_generator_test.rb Import actiontext.css when actiontext is installed 2021-10-13 16:23:04 -05:00
actions_test.rb Make sure assert_initializer accepts a block 2024-02-23 21:54:54 +00:00
api_app_generator_test.rb Fix tests without assertions in the framework 2024-04-30 23:29:30 +00:00
app_generator_test.rb Update application_system_test_case.rb from DevcontainerGenerator 2024-05-23 18:43:21 +00:00
application_record_generator_test.rb Set ApplicationRecord to primary_abstract_class 2021-02-05 17:02:08 -05:00
argv_scrubber_test.rb Support comment symbol '#' on .railsrc file 2024-01-29 17:56:24 +00:00
benchmark_generator_test.rb Used double quotes in template file for consistency. 2021-04-30 02:58:51 +05:30
channel_generator_test.rb Depend on ruby/debug, replacing Byebug 2021-09-08 17:35:41 +02:00
controller_generator_test.rb Let controller generator generate double-quoted routes 2023-10-09 12:47:27 +09:00
create_migration_test.rb Fix create migration generator with --pretend option 2021-01-27 21:00:24 +08:00
db_system_change_generator_test.rb Update database.yml from DevcontainerGenerator 2024-05-23 18:43:22 +00:00
generated_attribute_test.rb Rails::Generators::GeneratedAttribute#to_s 2024-02-20 20:57:54 +00:00
generator_generator_test.rb require, require_relative, load by double quotes (#38841) 2020-03-29 16:30:52 -07:00
generator_test.rb Enable verbose mode in test and report warnings as errors 2022-10-11 09:25:18 +02:00
generators_test_helper.rb When generating an app with the --dev flag, mount the local rails repo in the devcontainer 2024-04-08 15:30:04 -04:00
helper_generator_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
hook_generator_test.rb Clean up hook generator method when hook is removed 2022-07-25 14:50:28 -05:00
integration_test_generator_test.rb Remove redundant suffixes on generated integration tests. 2018-12-12 12:12:51 -05:00
job_generator_test.rb Add --parent option to job generator to specify parent class of job. 2022-07-05 20:55:38 -04:00
mailer_generator_test.rb feat(rubocop): Add Style/RedundantRegexpEscape 2020-12-08 18:57:09 +00:00
migration_generator_test.rb Non-zero exit status on migration file creation errors 2023-11-01 11:25:37 +01:00
model_generator_test.rb Simplify the implementation to register the correct source_path for the migration template 2023-05-24 22:54:12 +00:00
multi_db_generator_test.rb Move multi-db config options to middleware 2021-12-08 13:01:04 -05:00
named_base_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
namespaced_generators_test.rb Let controller generator generate double-quoted routes 2023-10-09 12:47:27 +09:00
orm_test.rb Delegate model generator description to orm hooked generator 2022-06-10 13:16:21 -05:00
plugin_generator_test.rb Add rubocop and GitHub Actions to plugin generator 2024-05-18 09:19:12 -05:00
plugin_test_helper.rb Avoid duplication between PluginTestHelper and PluginHelpers, use only generate_plugin to generate plugins 2023-06-04 03:36:21 -07:00
plugin_test_runner_test.rb Fix failing test due to the relative path output of minitest 2024-01-13 01:01:28 +09:00
resource_generator_test.rb Delegate model generator description to orm hooked generator 2022-06-10 13:16:21 -05:00
scaffold_controller_generator_test.rb Update default scaffold templates to set 303 (See Other) as status code on redirect for the update action 2023-06-30 21:52:49 -07:00
scaffold_generator_test.rb Fix test 2024-01-02 13:56:33 +01:00
shared_generator_tests.rb Don’t create storage/ directory if not needed 2024-05-17 10:52:15 -07:00
system_test_generator_test.rb Remove redundant suffixes on generated system tests. 2018-12-11 18:09:16 -05:00
task_generator_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
test_runner_in_engine_test.rb Fix failing test due to the relative path output of minitest 2024-01-13 01:01:28 +09:00