method
update_application_system_test_case
v7.2.3 -
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 39
def update_application_system_test_case
return unless options[:system_test]
return unless File.exist?("test/application_system_test_case.rb")
gsub_file("test/application_system_test_case.rb", /^\s*driven_by\b.*/, system_test_configuration)
end