spec/request/space_quotas_spec.rb
File space_quotas_spec.rb
has 897 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
module VCAP::CloudController
RSpec.describe 'space_quotas' do
Method make_space_quota_json
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def make_space_quota_json(space_quota, associated_spaces=space_quota.spaces)
{
guid: space_quota.guid,
created_at: iso8601,
updated_at: iso8601,