spec/requests/services_spec.rb
Block has too many lines. [40/25] Open
Open
RSpec.describe "Service registration", type: :request do
before(:each) do
Service.destroy_all
admin = FactoryGirl.build(:admin)
sign_in(admin)
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.
Line is too long. [94/80] Open
Open
description: 'An iterate dummy service that just implements the Who Are You API',
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
RSpec.describe "Service registration", type: :request do
- Read upRead up
- Exclude checks
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"
Line is too long. [94/80] Open
Open
description: 'An iterate dummy service that just implements the Who Are You API',
- Exclude checks