codeclimate/codeclimate-bundler-audit

View on GitHub
spec/cc/engine/bundler_audit/remediation_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [28/25]
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])

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

    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)

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.

There are no issues that match your filters.

Category
Status