Skip to content

Commit bc6a3cc

Browse files
Fix linting error for generated system test case.
Fixes: ``` Offenses: test/application_system_test_case.rb:9:49: C: [Correctable] Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash. url: "http://#{ENV["SELENIUM_HOST"]}:4444", ```
1 parent 51ce412 commit bc6a3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

railties/lib/rails/generators/rails/app/templates/test/application_system_test_case.rb.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
99

1010
driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ], options: {
1111
browser: :remote,
12-
url: "http://#{ENV["SELENIUM_HOST"]}:4444",
12+
url: "http://#{ENV["SELENIUM_HOST"]}:4444"
1313
}
1414
else
1515
driven_by :selenium, using: :headless_chrome, screen_size: [ 1400, 1400 ]

0 commit comments

Comments
 (0)