IotaSpencer/cloud_party

View on GitHub
test/test-helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

The name of this source file (test-helper.rb) should use snake_case.
Open

# frozen_string_literal: true
Severity: Minor
Found in test/test-helper.rb by rubocop

This cop makes sure that Ruby source files have snake_case names. Ruby scripts (i.e. source files with a shebang in the first line) are ignored.

Example:

# bad
lib/layoutManager.rb

anything/usingCamelCase

# good
lib/layout_manager.rb

anything/using_snake_case.rake

Add an empty line after magic comments.
Open

require 'minitest'
Severity: Minor
Found in test/test-helper.rb by rubocop

Checks for a newline after the final magic comment.

Example:

# good
# frozen_string_literal: true

# Some documentation for Person
class Person
  # Some code
end

# bad
# frozen_string_literal: true
# Some documentation for Person
class Person
  # Some code
end

2 trailing blank lines detected.
Open

Severity: Minor
Found in test/test-helper.rb by rubocop

There are no issues that match your filters.

Category
Status