lib/data_test/subject.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
95%

Prefer single-quoted strings inside interpolations.
Open

      "#{[name, file].join("-")}.#{extension}"
Severity: Minor
Found in lib/data_test/subject.rb by rubocop

This cop checks that quotes inside the string interpolation match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
result = "Tests #{success ? "PASS" : "FAIL"}"

# good
result = "Tests #{success ? 'PASS' : 'FAIL'}"

Example: EnforcedStyle: double_quotes

# bad
result = "Tests #{success ? 'PASS' : 'FAIL'}"

# good
result = "Tests #{success ? "PASS" : "FAIL"}"

There are no issues that match your filters.

Category
Status