Skip to content

update to voxpupuli-rubocop 2.7.0; adjust path to unit files & rubocop: autofix & regen todo file #263

update to voxpupuli-rubocop 2.7.0; adjust path to unit files & rubocop: autofix & regen todo file

update to voxpupuli-rubocop 2.7.0; adjust path to unit files & rubocop: autofix & regen todo file #263

Triggered via pull request May 17, 2024 10:10
Status Failure
Total duration 37s
Artifacts

ci.yml

on: pull_request
Matrix: test
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

10 errors
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)
rubocop: 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)