TheCorrespondingSquares/chess-app

View on GitHub
spec/spec_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [92/80]
Open

# This file was generated by the `rails generate rspec:install` command. Conventionally, all
Severity: Minor
Found in spec/spec_helper.rb by rubocop

Prefer single-quoted strings when you don't need string interpolation or special symbols.
Open

require "simplecov"
Severity: Minor
Found in spec/spec_helper.rb by rubocop

Checks if uses of quotes match the configured preference.

Example: EnforcedStyle: single_quotes (default)

# bad
"No special symbols"
"No string interpolation"
"Just text"

# good
'No special symbols'
'No string interpolation'
'Just text'
"Wait! What's #{this}!"

Example: EnforcedStyle: double_quotes

# bad
'Just some text'
'No special chars or interpolation'

# good
"Just some text"
"No special chars or interpolation"
"Every string in #{project} uses double_quotes"

Do not use block comments.
Open

=begin
  # This allows you to limit a spec run to individual examples or groups
  # you care about by tagging them with `:focus` metadata. When nothing
  # is tagged with `:focus`, all examples get run. RSpec also provides
  # aliases for `it`, `describe`, and `context` that include `:focus`
Severity: Minor
Found in spec/spec_helper.rb by rubocop

This cop looks for uses of block comments (=begin...=end).

Example:

# bad
=begin
Multiple lines
of comments...
=end

# good
# Multiple lines
# of comments...

There are no issues that match your filters.

Category
Status