Skip to content

v1.5 breaks tests, and/or rubocop #331

@bmulholland

Description

@bmulholland

When I upgrade to v1.5, all my tests start failing:

> be rspec
     Failure/Error: raise Plugin::LoadError, plugin_name

     RuboCop::Plugin::LoadError:
       Failed to load plugin `test-prof` because the corresponding plugin class could not be determined for instantiation.
       Try upgrading it first (e.g., `bundle update test-prof`).
       If `test-prof` is not yet a plugin, use `require: test-prof` instead of `plugins: test-prof` in your configuration.

       For further assistance, check with the developer regarding the following points:
       https://docs.rubocop.org/rubocop/plugin_migration_guide.html

And okay, the cops seem like a good idea, so let's set that up... add test_prof/rubocop to rubocop plugins, and:

> be rubocop
Error: Failed to load plugin `test_prof/rubocop` because the corresponding plugin class could not be determined for instantiation.
Try upgrading it first (e.g., `bundle update test_prof/rubocop`).
If `test_prof/rubocop` is not yet a plugin, use `require: test_prof/rubocop` instead of `plugins: test_prof/rubocop` in your configuration.

For further assistance, check with the developer regarding the following points:
https://docs.rubocop.org/rubocop/plugin_migration_guide.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions