cloudfoundry/cloud_controller_ng

View on GitHub
spec/request/space_quotas_spec.rb

Summary

Maintainability
D
2 days
Test Coverage

File space_quotas_spec.rb has 897 lines of code (exceeds 250 allowed). Consider refactoring.
Open

require 'spec_helper'
require 'request_spec_shared_examples'

module VCAP::CloudController
  RSpec.describe 'space_quotas' do
Severity: Major
Found in spec/request/space_quotas_spec.rb - About 2 days to fix

    Method make_space_quota_json has 34 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def make_space_quota_json(space_quota, associated_spaces=space_quota.spaces)
          {
            guid: space_quota.guid,
            created_at: iso8601,
            updated_at: iso8601,
    Severity: Minor
    Found in spec/request/space_quotas_spec.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status