update to voxpupuli-rubocop 2.7.0; adjust path to unit files & rubocop: autofix & regen todo file #263
Annotations
10 errors
Run linter:
spec/unit/module_sync/git_service/factory_spec.rb#L8
RSpec/DescribedClass: Use `described_class` instead of `ModuleSync::GitService::Factory`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass)
|
Run linter:
spec/unit/module_sync/git_service/factory_spec.rb#L17
RSpec/DescribedClass: Use `described_class` instead of `ModuleSync::GitService::Factory`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L5
RSpec/FilePath: Spec path should end with `module_sync/git_service/git_hub*_spec.rb`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FilePath)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L5
RSpec/SpecFilePathFormat: Spec path should end with `module_sync/git_service/git_hub*_spec.rb`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SpecFilePathFormat)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L6
RSpec/ContextWording: Context description should match /^when\b/, /^with\b/, or /^without\b/. (https://rspec.rubystyle.guide/#context-descriptions, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L9
RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible). (https://rspec.rubystyle.guide/#instance-variables, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L10
RSpec/DescribedClass: Use `described_class` instead of `ModuleSync::GitService::GitHub`. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L29
RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible). (https://rspec.rubystyle.guide/#instance-variables, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L34
RSpec/StubbedMock: Prefer `allow` over `expect` when configuring a response. (https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StubbedMock)
|
Run linter:
spec/unit/module_sync/git_service/github_spec.rb#L34
RSpec/InstanceVariable: Avoid instance variables - use let, a method call, or a local variable (if possible). (https://rspec.rubystyle.guide/#instance-variables, https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/InstanceVariable)
|
Loading