kpumuk/meta-tags

View on GitHub
.rubocop-rspec.yml

Summary

Maintainability
Test Coverage
require:
  - rubocop-rspec

RSpec/MultipleExpectations:
  Max: 7

# Name your test subject if you need to reference it explicitly. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/NamedSubject)
RSpec/NamedSubject:
  Enabled: false

# Spec path should end with _spec (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath)
# example: meta_tags/view_helper*displayingdescription*_spec.rb.
RSpec/SpecFilePathFormat:
  Enabled: false

# The second argument to describe should be the method being tested. '#instance' or '.class'. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeMethod)
# example: describe MetaTags::ViewHelper, 'displaying description' do
RSpec/DescribeMethod:
  Enabled: false

# Example has too many lines. (http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExampleLength)
RSpec/ExampleLength:
  Enabled: false

RSpec/VerifiedDoubles:
  Enabled: false

RSpec/NoExpectationExample:
  AllowedPatterns:
    - test_hashes_and_arrays