spec/lib/kapost_deploy/plugins/notify_honeybadger_after_promote_spec.rb
Block has too many lines. [41/25] Open
Open
RSpec.describe KapostDeploy::Plugins::NotifyHoneyBadgerAfterPromote do
let(:git_config) { { github_repo: "kapost/kapost_deploy", path: "." } }
let(:ahead_releases_double) { double("ahead releases", latest_deploy_version: "1234abc") }
let(:kernel) { class_spy(Kernel) }
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.