Showing 2,698 of 2,698 total issues
File domains_spec.rb
has 1960 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Domains Request' do
let(:user) { VCAP::CloudController::User.make }
File app_manifest_message_spec.rb
has 1831 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'messages/app_manifest_message'
module VCAP::CloudController
RSpec.describe AppManifestMessage do
File service_broker_spec.rb
has 1596 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
RSpec.describe 'Service Broker' do
include VCAP::CloudController::BrokerApiHelper
File roles_spec.rb
has 1495 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Roles Request' do
let(:user) { VCAP::CloudController::User.make(guid: 'user_guid') }
File security_groups_spec.rb
has 1306 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Security_Groups Request' do
let(:space) { VCAP::CloudController::Space.make(guid: 'space-guid') }
File permissions_spec.rb
has 1060 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
module VCAP::CloudController
RSpec.describe Permissions do
let(:user) { User.make }
File users_controller_spec.rb
has 997 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
## NOTICE: Prefer request specs over controller specs as per ADR #0003 ##
module VCAP::CloudController
File users_spec.rb
has 901 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Users Request' do
let(:actee) { VCAP::CloudController::User.make(guid: actee_guid) }
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
File service_manager_spec.rb
has 885 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'models/runtime/event'
require 'repositories/service_event_repository'
require 'cloud_controller/security_context'
File _lunr.js
has 884 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.5.7
* Copyright (C) 2014 Oliver Nightingale
* MIT Licensed
* @license
File organization_quotas_create_message_spec.rb
has 831 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'messages/organization_quotas_create_message'
module VCAP::CloudController
RSpec.describe OrganizationQuotasCreateMessage do
File security_group_spec.rb
has 831 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
module VCAP::CloudController
RSpec.describe SecurityGroup, type: :model do
def build_transport_rule(attrs={})
File updater_spec.rb
has 813 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'cloud_controller/deployment_updater/updater'
module VCAP::CloudController
RSpec.describe DeploymentUpdater::Updater do
File uaa_client_spec.rb
has 785 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
module VCAP::CloudController
RSpec.describe UaaClient do
let(:url) { 'http://uaa.example.com' }
File sidecars_spec.rb
has 696 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Sidecars' do
let(:app_model) { VCAP::CloudController::AppModel.make }
File model_controller_spec.rb
has 687 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'stringio'
module VCAP::CloudController
RSpec.describe RestController::ModelController do
File space_manifests_controller_spec.rb
has 664 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'rails_helper'
require 'permissions_spec_helper'
## NOTICE: Prefer request specs over controller specs as per ADR #0003 ##
Class ProcessModel
has 78 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class ProcessModel < Sequel::Model(:processes)
include Serializer
plugin :serialization
plugin :after_initialize
File revisions_spec.rb
has 618 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require 'spec_helper'
require 'request_spec_shared_examples'
RSpec.describe 'Revisions' do
let(:user) { VCAP::CloudController::User.make }