spec/cc/engine/bundler_audit/remediation_spec.rb
Block has too many lines. [28/25] Open
Open
describe UnpatchedGemRemediation do
describe "#points" do
it "returns major upgrade remediation points when an upgrade requies a major version bump" do
remediation = UnpatchedGemRemediation.new("1.0.0", %w[2.0.1 3.0.1])
- 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.
Block has too many lines. [26/25] Open
Open
describe "#points" do
it "returns major upgrade remediation points when an upgrade requies a major version bump" do
remediation = UnpatchedGemRemediation.new("1.0.0", %w[2.0.1 3.0.1])
expect(remediation.points).to eq(UnpatchedGemRemediation::MAJOR_UPGRADE_POINTS)
- 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.