fga-eps-mds/2018.2-IndicaAi

View on GitHub
indicaAi/spec/rails_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [86/80]
Open

abort("The Rails environment is running in production mode!") if Rails.env.production?
Severity: Minor
Found in indicaAi/spec/rails_helper.rb by rubocop

Line is too long. [105/80]
Open

  # start by truncating all the tables but then use the faster transaction strategy the rest of the time.
Severity: Minor
Found in indicaAi/spec/rails_helper.rb by rubocop

Line is too long. [100/80]
Open

# configure shoulda matchers to use rspec as the test framework and full matcher libraries for rails
Severity: Minor
Found in indicaAi/spec/rails_helper.rb by rubocop

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

abort("The Rails environment is running in production mode!") if Rails.env.production?
Severity: Minor
Found in indicaAi/spec/rails_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"

There are no issues that match your filters.

Category
Status