Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress RuboCop's offense #355

Merged
merged 1 commit into from
Sep 13, 2020
Merged

Commits on Sep 13, 2020

  1. Suppress RuboCop's offense

    Follow rubocop/rubocop#8707
    
    This PR suppresses the following RuboCop's offense.
    
    ```console
    % bundle exec rake
    (snip)
    
    Offenses:
    
    spec/rubocop/cop/active_record_helper_spec.rb:6:3: W:
    Lint/ConstantDefinitionInBlock: Do not define constants within a block.
      module RuboCop ...
        ^^^^^^^^^^^^^^
    
    185 files inspected, 1 offense detected, 1 offense auto-correctable
    RuboCop failed!
    ```
    koic committed Sep 13, 2020
    Configuration menu
    Copy the full SHA
    c9af0b5 View commit details
    Browse the repository at this point in the history