kimjunh/giver-game

View on GitHub
features/support/env.rb

Summary

Maintainability
A
0 mins
Test Coverage

Line is too long. [82/80]
Open

# your application behaves in the production environment, where an error page will
Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [84/80]
Open

# instead of editing this one. Cucumber will automatically load all features/**/*.rb
Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [102/80]
Open

  raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
Severity: Minor
Found in features/support/env.rb by rubocop

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

require "codeclimate-test-reporter"
Severity: Minor
Found in features/support/env.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"

Line is too long. [83/80]
Open

#   Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
Severity: Minor
Found in features/support/env.rb by rubocop

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

  raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
Severity: Minor
Found in features/support/env.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"

1 trailing blank lines detected.
Open

Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [89/80]
Open

# exceptions and display an error page (just like when the app is running in production).
Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [112/80]
Open

# You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
Severity: Minor
Found in features/support/env.rb by rubocop

Line is too long. [88/80]
Open

# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
Severity: Minor
Found in features/support/env.rb by rubocop

There are no issues that match your filters.

Category
Status