merqlove/do_snapshot

View on GitHub
lib/do_snapshot/rspec/api_v2_helpers.rb

Summary

Maintainability
A
2 hrs
Test Coverage

Method stub_with_id_name has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

      def stub_with_id_name(request, id, name, fixture, type = :get, body = nil, status = 200) # rubocop:disable Metrics/ParameterLists
Severity: Major
Found in lib/do_snapshot/rspec/api_v2_helpers.rb - About 50 mins to fix

    Method stub_with_id has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

          def stub_with_id(request, id, fixture, type = :get, body = nil, status = 200) # rubocop:disable Metrics/ParameterLists
    Severity: Minor
    Found in lib/do_snapshot/rspec/api_v2_helpers.rb - About 45 mins to fix

      Method stub_without_id has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

            def stub_without_id(request, fixture, type = :get, body = nil, status = 200)
      Severity: Minor
      Found in lib/do_snapshot/rspec/api_v2_helpers.rb - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status