method
update_application_system_test_case
v8.1.1 -
Show latest stable
- Class:
Rails::Generators::DevcontainerGenerator
update_application_system_test_case()public
No documentation available.
# File railties/lib/rails/generators/rails/devcontainer/devcontainer_generator.rb, line 45
def update_application_system_test_case
return unless options[:system_test]
system_test_case_path = File.expand_path "test/application_system_test_case.rb", destination_root
return unless File.exist? system_test_case_path
gsub_file(system_test_case_path, /^\s*driven_by\b.*/, system_test_configuration)
end