features/support/env.rb
Extra blank line detected. Open
Open
# Capybara defaults to CSS3 selectors rather than XPath.
- Read upRead up
- Exclude checks
This cops checks for two or more consecutive blank lines.
Example:
# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method
# good
some_method
# one empty line
some_method
1 trailing blank lines detected. Open
Open
- Exclude checks
Line is too long. [89/80] Open
Open
# exceptions and display an error page (just like when the app is running in production).
- Exclude checks
Extra blank line detected. Open
Open
headless = Headless.new
- Read upRead up
- Exclude checks
This cops checks for two or more consecutive blank lines.
Example:
# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method
# good
some_method
# one empty line
some_method
Line is too long. [112/80] Open
Open
# You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
- Exclude checks
Line is too long. [84/80] Open
Open
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
- Exclude checks
Line is too long. [102/80] Open
Open
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
- Exclude checks
Prefer single-quoted strings when you don't need string interpolation or special symbols. Open
Open
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
- 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"
Extra blank line detected. Open
Open
require 'cucumber/rails'
- Read upRead up
- Exclude checks
This cops checks for two or more consecutive blank lines.
Example:
# bad - It has two empty lines.
some_method
# one empty line
# two empty lines
some_method
# good
some_method
# one empty line
some_method
Line is too long. [82/80] Open
Open
# your application behaves in the production environment, where an error page will
- Exclude checks
Line is too long. [83/80] Open
Open
# Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
- Exclude checks
Line is too long. [88/80] Open
Open
# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
- Exclude checks