rspec-ee unit pg11 7/10
Passed Started
by
@gitlab-bot

🤖 GitLab Bot 🤖
1Running with gitlab-runner 13.3.1 (738bbe5a)2 on docker-auto-scale-com 9538b0ab4Using Docker executor with image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...5Starting service postgres:11.6 ...6Pulling docker image postgres:11.6 ...7Using docker image sha256:2c963c0eb8c6efa49bb8352ea446f248d208d674cfc34fc9ea275b5f99f8dedd for postgres:11.6 ...8Starting service redis:4.0-alpine ...9Pulling docker image redis:4.0-alpine ...10Using docker image sha256:e3dd0e49bca555d559ca2e97f06a1efa108ebd230fddcb17606723994f18ae3b for redis:4.0-alpine ...11Starting service elasticsearch:6.4.2 ...12Pulling docker image elasticsearch:6.4.2 ...13Using docker image sha256:e47ebd7ec3eef5e48746af2ae376f180bbfbd23c7514b5b18a116f8349eb4c34 for elasticsearch:6.4.2 ...14Waiting for services to be up and running...15Authenticating with credentials from job payload (GitLab Registry)16Pulling docker image registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...17Using docker image sha256:cd688957c9207f55272d81be6d4908692d78233833e3f09a9c0899b2f24eb3ff for registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.6-golang-1.14-git-2.28-lfs-2.9-chrome-84-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34 ...19Running on runner-9538b0ab-project-278964-concurrent-0 via runner-9538b0ab-gsrm-1598711497-b03fd4a2...21$ eval "$CI_PRE_CLONE_SCRIPT"22Downloading archived master...23Connecting to storage.googleapis.com (172.217.204.128:443)24saving to '/tmp/gitlab.tar.gz'25gitlab.tar.gz 29% |********* | 297M 0:00:02 ETA26gitlab.tar.gz 64% |******************** | 648M 0:00:01 ETA27gitlab.tar.gz 89% |**************************** | 903M 0:00:00 ETA28gitlab.tar.gz 100% |********************************| 1007M 0:00:00 ETA29'/tmp/gitlab.tar.gz' saved30Extracting tarball into /builds/gitlab-org/gitlab...31Fetching changes with git depth set to 20...32Reinitialized existing Git repository in /builds/gitlab-org/gitlab/.git/33Created fresh repository.34Checking out 4e12f87c as master...35Skipping Git submodules setup37Checking cache for rails-v2-3...38cache.zip is up to date 39Successfully extracted cache41Downloading artifacts for compile-test-assets (710020301)...42Downloading artifacts from coordinator... ok id=710020301 responseStatus=200 OK token=dz2RyhAg43Downloading artifacts for retrieve-tests-metadata (710020310)...44Downloading artifacts from coordinator... ok id=710020310 responseStatus=200 OK token=LNgn8mU-45Downloading artifacts for setup-test-env (710020306)...46Downloading artifacts from coordinator... ok id=710020306 responseStatus=200 OK token=wSxhzuKE47WARNING: tmp/tests/gitlab-shell/.gitlab_shell_secret: chmod tmp/tests/gitlab-shell/.gitlab_shell_secret: no such file or directory (suppressing repeats) 49$ [ "$FOSS_ONLY" = "1" ] && rm -rf ee/ qa/spec/ee/ qa/qa/specs/features/ee/ qa/qa/ee/ qa/qa/ee.rb50$ export GOPATH=$CI_PROJECT_DIR/.go51$ mkdir -p $GOPATH52$ source scripts/utils.sh53$ source scripts/prepare_build.sh54Bundler version 1.17.255$ bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet56==> 'bundle install --clean --without=production --without=development --jobs=2 --path=vendor --retry=3 --quiet' succeeded in 1 seconds.57$ bundle check58Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.59The Gemfile's dependencies are satisfied60==> 'bundle check' succeeded in 1 seconds.61$ bundle pristine pg62Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.63Installing pg 1.2.2 with native extensions64==> 'bundle pristine pg' succeeded in 8 seconds.65$ gem install knapsack --no-document66Successfully installed knapsack-1.18.0671 gem installed68==> 'gem install knapsack --no-document' succeeded in 1 seconds.69$ setup_db_user_only70CREATE ROLE71GRANT72==> 'setup_db_user_only' succeeded in 0 seconds.73$ bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee74Dropped database 'gitlabhq_test'75Created database 'gitlabhq_test'76Dropped database 'gitlabhq_geo_test'77Created database 'gitlabhq_geo_test'78==> 'bundle exec rake db:drop db:create db:structure:load db:migrate gitlab:db:setup_ee' succeeded in 24 seconds.79$ run_timed_command "scripts/gitaly-test-build"80$ scripts/gitaly-test-build81Settings are listed in order of priority. The top value will be used.82retry83Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 384path85Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): "/builds/gitlab-org/gitlab/vendor/gitaly-ruby"86jobs87Set for your local app (/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config/config): 488app_config89Set via BUNDLE_APP_CONFIG: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/.bundle/config"90gemfile91Set via BUNDLE_GEMFILE: "/builds/gitlab-org/gitlab/tmp/tests/gitaly/ruby/Gemfile"92flags93Set via BUNDLE_FLAGS: "--jobs=4 --retry=3 --quiet --path=/builds/gitlab-org/gitlab/vendor/gitaly-ruby"94silence_root_warning95Set via BUNDLE_SILENCE_ROOT_WARNING: true96go install -ldflags '-X gitlab.com/gitlab-org/gitaly/internal/version.version=13.3.0-rc5 -X gitlab.com/gitlab-org/gitaly/internal/version.buildtime=20200829.163052' -tags "tracer_static,tracer_static_jaeger,continuous_profiler_stackdriver" gitlab.com/gitlab-org/gitaly/cmd/praefect gitlab.com/gitlab-org/gitaly/cmd/gitaly-hooks gitlab.com/gitlab-org/gitaly/cmd/gitaly-blackbox gitlab.com/gitlab-org/gitaly/cmd/gitaly gitlab.com/gitlab-org/gitaly/cmd/gitaly-debug gitlab.com/gitlab-org/gitaly/cmd/gitaly-ssh gitlab.com/gitlab-org/gitaly/cmd/gitaly-wrapper97install /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/praefect /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-hooks /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-blackbox /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-debug /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-ssh /builds/gitlab-org/gitlab/tmp/tests/gitaly/_build/bin/gitaly-wrapper /builds/gitlab-org/gitlab/tmp/tests/gitaly98Checking gitaly-ruby Gemfile...99Checking gitaly-ruby bundle...100Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.101The Gemfile's dependencies are satisfied102Trying to connect to gitaly: ....... OK103Trying to connect to praefect: ....... OK104==> 'scripts/gitaly-test-build' succeeded in 37 seconds.105$ run_timed_command "scripts/gitaly-test-spawn"106$ scripts/gitaly-test-spawn107Checking gitaly-ruby Gemfile...108Checking gitaly-ruby bundle...109Warning: the running version of Bundler (1.17.2) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.110The Gemfile's dependencies are satisfied111Trying to connect to gitaly: ....... OK112Trying to connect to praefect: ....... OK113==> 'scripts/gitaly-test-spawn' succeeded in 1 seconds.114$ source scripts/rspec_helpers.sh115$ rspec_paralellized_job "--tag ~quarantine --tag ~geo --tag ~level:migration"116KNAPSACK_TEST_FILE_PATTERN: ee/spec/{bin,channels,config,db,dependencies,factories,finders,frontend,graphql,haml_lint,helpers,initializers,javascripts,lib,models,policies,presenters,rack_servers,replicators,routing,rubocop,serializers,services,sidekiq,support_specs,tasks,uploaders,validators,views,workers,elastic_integration,tooling}{,/**/}*_spec.rb117Report specs:118ee/spec/models/project_spec.rb119ee/spec/services/search/snippet_service_spec.rb120ee/spec/services/geo/file_download_service_spec.rb121ee/spec/serializers/ee/job_entity_spec.rb122ee/spec/models/merge_train_spec.rb123ee/spec/models/user_spec.rb124ee/spec/services/merge_trains/refresh_merge_requests_service_spec.rb125ee/spec/lib/gitlab/geo/git_ssh_proxy_spec.rb126ee/spec/services/epics/issue_promote_service_spec.rb127ee/spec/lib/gitlab/template/custom_templates_spec.rb128ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb129ee/spec/models/ci/build_spec.rb130ee/spec/workers/geo/registry_sync_worker_spec.rb131ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb132ee/spec/services/projects/group_links/create_service_spec.rb133ee/spec/finders/epics_finder_spec.rb134ee/spec/services/ci/register_job_service_spec.rb135ee/spec/services/dashboard/projects/list_service_spec.rb136ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb137ee/spec/lib/gitlab/background_migration/user_mentions/create_resource_user_mention_spec.rb138ee/spec/services/ee/boards/lists/create_service_spec.rb139ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb140ee/spec/presenters/epic_presenter_spec.rb141ee/spec/models/concerns/epic_tree_sorting_spec.rb142ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb143ee/spec/lib/banzai/filter/epic_reference_filter_spec.rb144ee/spec/services/boards/update_service_spec.rb145ee/spec/workers/geo/prune_event_log_worker_spec.rb146ee/spec/services/ee/issues/create_from_vulnerability_data_service_spec.rb147ee/spec/policies/requirements_management/requirement_policy_spec.rb148ee/spec/models/concerns/elastic/milestone_spec.rb149ee/spec/models/requirements_management/test_report_spec.rb150ee/spec/lib/gitlab/elastic/snippet_search_results_spec.rb151ee/spec/services/ee/issue_links/create_service_spec.rb152ee/spec/lib/ee/gitlab/background_migration/prune_orphaned_geo_events_spec.rb153ee/spec/services/projects/operations/update_service_spec.rb154ee/spec/models/vulnerabilities/issue_link_spec.rb155ee/spec/services/dast_site_profiles/create_service_spec.rb156ee/spec/graphql/mutations/dast_site_profiles/delete_spec.rb157ee/spec/services/merge_requests/remove_approval_service_spec.rb158ee/spec/services/status_page/mark_for_publication_service_spec.rb159ee/spec/models/operations/feature_flags/strategy_spec.rb160ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb161ee/spec/graphql/mutations/dast_site_profiles/create_spec.rb162ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb163ee/spec/graphql/mutations/issues/set_assignees_spec.rb164ee/spec/helpers/ee/user_callouts_helper_spec.rb165ee/spec/workers/geo/project_sync_worker_spec.rb166ee/spec/services/geo/file_upload_service_spec.rb167ee/spec/lib/ee/audit/project_changes_auditor_spec.rb168ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb169ee/spec/lib/omni_auth/strategies/group_saml_spec.rb170ee/spec/services/ee/resource_events/change_weight_service_spec.rb171ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb172ee/spec/finders/boards/milestones_finder_spec.rb173ee/spec/lib/analytics/merge_request_metrics_refresh_spec.rb174ee/spec/policies/approval_merge_request_rule_policy_spec.rb175ee/spec/lib/ee/gitlab/checks/push_rules/tag_check_spec.rb176ee/spec/services/ee/boards/issues/list_service_spec.rb177ee/spec/services/ee/system_notes/issuables_service_spec.rb178ee/spec/services/ee/users/destroy_service_spec.rb179ee/spec/models/ee/personal_access_token_spec.rb180ee/spec/models/issue_link_spec.rb181ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb182ee/spec/helpers/ee/namespace_storage_limit_alert_helper_spec.rb183ee/spec/models/project_services/github_service/status_message_spec.rb184ee/spec/lib/gitlab/elastic/document_reference_spec.rb185ee/spec/serializers/productivity_analytics_merge_request_entity_spec.rb186ee/spec/finders/merge_requests_finder_spec.rb187ee/spec/lib/gitlab/background_migration/fix_orphan_promoted_issues_spec.rb188ee/spec/lib/pseudonymizer/dumper_spec.rb189ee/spec/services/geo/hashed_storage_migration_service_spec.rb190ee/spec/graphql/mutations/epics/add_issue_spec.rb191ee/spec/lib/banzai/filter/label_reference_filter_spec.rb192ee/spec/routing/project_routing_spec.rb193ee/spec/lib/gitlab/code_owners/groups_loader_spec.rb194ee/spec/workers/update_max_seats_used_for_gitlab_com_subscriptions_worker_spec.rb195ee/spec/views/admin/dashboard/index.html.haml_spec.rb196ee/spec/lib/gitlab/geo/replication/job_artifact_downloader_spec.rb197ee/spec/services/ee/protected_branches/update_service_spec.rb198ee/spec/workers/geo/repository_verification/secondary/single_worker_spec.rb199ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb200ee/spec/lib/gitlab/code_owners/entry_spec.rb201ee/spec/services/projects/licenses/update_policy_service_spec.rb202ee/spec/lib/ee/gitlab/analytics/cycle_analytics/base_query_builder_spec.rb203ee/spec/serializers/clusters/environment_entity_spec.rb204ee/spec/lib/gitlab/import_export/project/object_builder_spec.rb205ee/spec/finders/geo/project_registry_finder_spec.rb206ee/spec/lib/gitlab/auth/smartcard/san_extension_spec.rb207ee/spec/models/approver_group_spec.rb208ee/spec/lib/gitlab/geo/replication/file_downloader_spec.rb209ee/spec/finders/boards/users_finder_spec.rb210ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb211ee/spec/lib/gitlab/geo/log_cursor/events/hashed_storage_migrated_event_spec.rb212ee/spec/graphql/mutations/clusters/agents/delete_spec.rb213ee/spec/services/epic_issues/update_service_spec.rb214ee/spec/services/security/report_fetch_service_spec.rb215ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb216ee/spec/services/ee/quick_actions/target_service_spec.rb217ee/spec/lib/banzai/filter/cross_project_issuable_information_filter_spec.rb218ee/spec/lib/peek/views/elasticsearch_spec.rb219ee/spec/helpers/ee/services_helper_spec.rb220ee/spec/models/ee/members_preloader_spec.rb221ee/spec/services/milestones/burnup_chart_service_spec.rb222ee/spec/models/operations/feature_flags_client_spec.rb223ee/spec/lib/ee/gitlab/background_migration/populate_vulnerability_historical_statistics_spec.rb224ee/spec/lib/gitlab/geo/log_cursor/events/upload_deleted_event_spec.rb225ee/spec/services/geo/blob_upload_service_spec.rb226ee/spec/workers/adjourned_project_deletion_worker_spec.rb227ee/spec/services/clusters/agents/delete_service_spec.rb228ee/spec/policies/saml_provider_policy_spec.rb229ee/spec/models/ee/description_version_spec.rb230ee/spec/lib/ee/gitlab/verify/uploads_spec.rb231ee/spec/lib/ee/audit/project_feature_changes_auditor_spec.rb232ee/spec/services/ee/users/create_service_spec.rb233ee/spec/lib/gitlab/ci/parsers/license_compliance/license_scanning_spec.rb234ee/spec/services/projects/slack_application_install_service_spec.rb235ee/spec/views/projects/dast_profiles/index.html.haml_spec.rb236ee/spec/graphql/ee/resolvers/compliance_frameworks_resolver_spec.rb237ee/spec/models/namespace_setting_spec.rb238ee/spec/helpers/epics_helper_spec.rb239ee/spec/lib/gitlab/geo/jwt_request_decoder_spec.rb240ee/spec/models/dependency_proxy/blob_spec.rb241ee/spec/serializers/dependency_list_serializer_spec.rb242ee/spec/graphql/types/instance_security_dashboard_type_spec.rb243ee/spec/workers/geo/blob_verification_primary_worker_spec.rb244ee/spec/services/boards/user_preferences/update_service_spec.rb245ee/spec/lib/gitlab/geo/geo_tasks_spec.rb246ee/spec/finders/geo/attachment_registry_finder_spec.rb247ee/spec/services/ee/commits/create_service_spec.rb248ee/spec/views/admin/licenses/show.html.haml_spec.rb249ee/spec/views/compliance_management/compliance_framework/_compliance_framework_badge.html.haml_spec.rb250ee/spec/services/ee/audit_events/release_artifacts_downloaded_audit_event_service_spec.rb251ee/spec/services/ee/resource_events/synthetic_weight_notes_builder_service_spec.rb252ee/spec/helpers/ee/gitlab_routing_helper_spec.rb253ee/spec/policies/instance_security_dashboard_policy_spec.rb254ee/spec/views/admin/users/index.html.haml_spec.rb255ee/spec/workers/create_github_webhook_worker_spec.rb256ee/spec/services/network_policies/resources_service_spec.rb257ee/spec/serializers/feature_flags_client_serializer_spec.rb258ee/spec/tasks/geo/git_rake_spec.rb259ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rbKnapsack report generator started!260RSpec's reporter has already been initialized with #<IO:<STDERR>> as the deprecation stream, so your change to `deprecation_stream` will be ignored. You should configure it earlier for it to take effect, or use the `--deprecation-out` CLI option. (Called from /builds/gitlab-org/gitlab/spec/support/rspec.rb:12:in `block in <top (required)>')261Run options:262 include {:focus=>true}263 exclude {:quarantine=>true, :geo=>true, :level=>"migration"}264All examples were filtered out; ignoring {:focus=>true}265==> Setting up gitlab-test bare repository in /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare...266 /builds/gitlab-org/gitlab/tmp/tests/gitlab-test_bare set up in 0.031220123 seconds...267Project268 associations269 is expected to delegate #shared_runners_minutes to the #statistics object270 is expected to delegate #shared_runners_seconds to the #statistics object271 is expected to delegate #shared_runners_seconds_last_reset to the #statistics object272 is expected to delegate #actual_shared_runners_minutes_limit to the #shared_runners_limit_namespace object273 is expected to delegate #shared_runners_minutes_limit_enabled? to the #shared_runners_limit_namespace object274 is expected to delegate #shared_runners_minutes_used? to the #shared_runners_limit_namespace object275 is expected to delegate #shared_runners_remaining_minutes_below_threshold? to the #shared_runners_limit_namespace object276 is expected to delegate #closest_gitlab_subscription to the #namespace object277 is expected to belong to deleting_user required:278 is expected to have one import_state class_name => ProjectImportState279 is expected to have one repository_state class_name => ProjectRepositoryState inverse_of => project280 is expected to have one status_page_setting class_name => StatusPage::ProjectSetting281 is expected to have one compliance_framework_setting class_name => ComplianceManagement::ComplianceFramework::ProjectSettings282 is expected to have one security_setting class_name => ProjectSecuritySetting283 is expected to have one vulnerability_statistic class_name => Vulnerabilities::Statistic284 is expected to have many path_locks285 is expected to have many vulnerability_feedback286 is expected to have many vulnerability_exports287 is expected to have many vulnerability_scanners288 is expected to have many dast_site_profiles289 is expected to have many dast_sites290 is expected to have many audit_events dependent => false291 is expected to have many protected_environments292 is expected to have many approvers dependent => destroy293 is expected to have many approver_users through approvers294 is expected to have many approver_groups dependent => destroy295 is expected to have many upstream_project_subscriptions296 is expected to have many upstream_projects297 is expected to have many downstream_project_subscriptions298 is expected to have many downstream_projects299 is expected to have many vulnerability_historical_statistics class_name => Vulnerabilities::HistoricalStatistic300 is expected to have one github_service301 is expected to have many project_aliases302 scopes303 .requiring_code_owner_approval304 only includes the right projects305 .with_wiki_enabled306 returns a project307 .with_active_services308 returns the correct project309 .with_active_jira_services310 returns the correct project311 .with_jira_dvcs_cloud312 returns the correct project313 .with_jira_dvcs_server314 returns the correct project315 .github_imported316 returns the correct project317 .with_protected_branches318 returns the correct project319 .with_repositories_enabled320 returns the correct project321 .with_github_service_pipeline_events322 returns the correct project323 .with_active_prometheus_service324 returns the correct project325 .with_shared_runners_limit_enabled326 does not return projects without shared runners327 return projects with shared runners with positive public cost factor with any visibility levels328 and shared runners public cost factors set to 0329 return projects with any visibility levels except public330 .has_vulnerabilities331 is expected to contain exactly #<Project id:33 namespace33/project33>>332 .has_vulnerability_statistics333 is expected to contain exactly #<Project id:35 namespace35/project35>>334 .not_aimed_for_deletion335 is expected to contain exactly #<Project id:37 namespace37/project37>>336 validations337 creates import state when mirror gets enabled338 variables339 ensures max_pages_size is an integer greater than 0 (or equal to 0 to indicate unlimited/maximum)340 with duplicate variables with same environment scope341 is expected not to be valid342 with same variable keys and different environment scope343 is expected to be valid344 mirror345 is expected to validate that :import_url cannot be empty/falsy346 is expected to validate that :mirror_user cannot be empty/falsy347 pull_mirror_branch_prefix348 is expected to validate that the length of :pull_mirror_branch_prefix is at most 50349 rejects invalid git refs350 setting up a mirror351 when new project352 creates import_state and sets next_execution_timestamp to now353 when project already exists354 when project is not import355 creates import_state and sets next_execution_timestamp to now356 when project is import357 sets current import_state next_execution_timestamp to now358 .mirrors_to_sync359 when mirror is scheduled360 returns empty361 when mirror is started362 returns empty363 when mirror is finished364 returns project if next_execution_timestamp is not in the future365 returns empty if next_execution_timestamp is in the future366 when a limit is applied367 returns project if next_execution_timestamp is not in the future368 when project is failed369 returns project if next_execution_timestamp is not in the future370 returns empty if next_execution_timestamp is in the future371 with retry limit exceeded372 returns empty373 #can_store_security_reports?374 when the feature is enabled for the namespace375 returns true376 when the project is public377 returns true378 when the feature is disabled for the namespace and the project is not public379 returns false380 #deployment_variables381 when environment name is review/name382 returns variables from this service383 when environment name is other384 returns variables from this service385 #ensure_external_webhook_token386 sets external_webhook_token when it's missing387 #push_rule388 is expected not to be nil389 push rules unlicensed390 is expected to be nil391 merge requests related settings392 #disable_overriding_approvers_per_merge_request393 behaves like setting modified by application setting394 app_setting: true, project_setting: true, regulated_settings: true, final_setting: true395 shows proper setting396 app_setting: false, project_setting: true, regulated_settings: true, final_setting: false397 shows proper setting398 app_setting: true, project_setting: false, regulated_settings: true, final_setting: true399 shows proper setting400 app_setting: false, project_setting: false, regulated_settings: true, final_setting: false401 shows proper setting402 app_setting: true, project_setting: true, regulated_settings: false, final_setting: true403 shows proper setting404 app_setting: false, project_setting: true, regulated_settings: false, final_setting: true405 shows proper setting406 app_setting: true, project_setting: false, regulated_settings: false, final_setting: false407 shows proper setting408 app_setting: false, project_setting: false, regulated_settings: false, final_setting: false409 shows proper setting410 #merge_requests_disable_committers_approval411 behaves like setting modified by application setting412 app_setting: true, project_setting: true, regulated_settings: true, final_setting: true413 shows proper setting414 app_setting: false, project_setting: true, regulated_settings: true, final_setting: false415 shows proper setting416 app_setting: true, project_setting: false, regulated_settings: true, final_setting: true417 shows proper setting418 app_setting: false, project_setting: false, regulated_settings: true, final_setting: false419 shows proper setting420 app_setting: true, project_setting: true, regulated_settings: false, final_setting: true421 shows proper setting422 app_setting: false, project_setting: true, regulated_settings: false, final_setting: true423 shows proper setting424 app_setting: true, project_setting: false, regulated_settings: false, final_setting: false425 shows proper setting426 app_setting: false, project_setting: false, regulated_settings: false, final_setting: false427 shows proper setting428 #merge_requests_author_approval429 app_setting: true, project_setting: true, regulated_settings: true, final_setting: false430 shows proper setting431 app_setting: false, project_setting: true, regulated_settings: true, final_setting: true432 shows proper setting433 app_setting: true, project_setting: false, regulated_settings: true, final_setting: false434 shows proper setting435 app_setting: false, project_setting: false, regulated_settings: true, final_setting: true436 shows proper setting437 app_setting: true, project_setting: true, regulated_settings: false, final_setting: true438 shows proper setting439 app_setting: false, project_setting: true, regulated_settings: false, final_setting: true440 shows proper setting441 app_setting: true, project_setting: false, regulated_settings: false, final_setting: false442 shows proper setting443 app_setting: false, project_setting: false, regulated_settings: false, final_setting: false444 shows proper setting445 #has_regulated_settings?446 framework is regulated447 is expected to be truthy448 framework is not regulated449 is expected to be falsey450 project does not have compliance framework451 is expected to be falsey452 #has_active_hooks?453 with group hooks454 returns true455 with no group hooks456 returns false457 #has_group_hooks?458 is expected to eq nil459 project is in a group460 is expected to eq false461 behaves like returns nil when the feature is not available462 is expected to eq nil463 the group has hooks464 is expected to eq true465 behaves like returns nil when the feature is not available466 is expected to eq nil467 but the hook is not in scope468 is expected to eq false469 behaves like returns nil when the feature is not available470 is expected to eq nil471 the group inherits a hook472 is expected to eq true473 behaves like returns nil when the feature is not available474 is expected to eq nil475 #execute_hooks476 group hooks477 does not execute the hook when the feature is disabled478 when group_webhooks frature is enabled479 behaves like triggering group webhook480 executes the hook481 in sub group482 behaves like triggering group webhook483 executes the hook484 #allowed_to_share_with_group?485 returns true486 returns false487 #alpha/beta_feature_available?488 behaves like an entity with alpha/beta feature support489 level: "alpha"490 when license does not allow it491 when the feature flag is enabled globally492 is expected to be falsy493 when the feature flag is disabled globally494 is expected to be falsy495 and enabled for the entity496 is expected to be truthy497 when license allows it498 when the feature flag is enabled globally499 is expected to be truthy500 when the feature flag is disabled globally501 is expected to be falsy502 and enabled for the entity503 is expected to be truthy504 level: "beta"505 when license does not allow it506 when the feature flag is enabled globally507 is expected to be falsy508 when the feature flag is disabled globally509 is expected to be falsy510 and enabled for the entity511 is expected to be truthy512 when license allows it513 when the feature flag is enabled globally514 is expected to be truthy515 when the feature flag is disabled globally516 is expected to be falsy517 and enabled for the entity518 is expected to be truthy519 #feature_available?520 only loads licensed availability once521 when feature symbol is included on Namespace features code522 audit_events523 checking audit_events availability both on Global and Namespace license524 allowed by Plan License AND Global License525 returns true526 when feature is disabled by a feature flag527 returns false528 not allowed by Plan License but project and namespace are public529 returns true530 not allowed by Global License531 returns false532 with promo feature flag533 is expected to be truthy534 when checking audit_events only for Global license535 allowed by Global License536 returns true537 not allowed by Global License538 returns false539 blocked_issues540 checking blocked_issues availability both on Global and Namespace license541 allowed by Plan License AND Global License542 returns true543 when feature is disabled by a feature flag544 returns false545 not allowed by Plan License but project and namespace are public546 returns true547 not allowed by Global License548 returns false549 with promo feature flag550 is expected to be truthy551 when checking blocked_issues only for Global license552 allowed by Global License553 returns true554 not allowed by Global License555 returns false556 burndown_charts557 checking burndown_charts availability both on Global and Namespace license558 allowed by Plan License AND Global License559 returns true560 when feature is disabled by a feature flag561 returns false562 not allowed by Plan License but project and namespace are public563 returns true564 not allowed by Global License565 returns false566 with promo feature flag567 is expected to be truthy568 when checking burndown_charts only for Global license569 allowed by Global License570 returns true571 not allowed by Global License572 returns false573 code_owners574 checking code_owners availability both on Global and Namespace license575 allowed by Plan License AND Global License576 returns true577 when feature is disabled by a feature flag578 returns false579 not allowed by Plan License but project and namespace are public580 returns true581 not allowed by Global License582 returns false583 with promo feature flag584 is expected to be truthy585 when checking code_owners only for Global license586 allowed by Global License587 returns true588 not allowed by Global License589 returns false590 code_review_analytics591 checking code_review_analytics availability both on Global and Namespace license592 allowed by Plan License AND Global License593 returns true594 when feature is disabled by a feature flag595 returns false596 not allowed by Plan License but project and namespace are public597 returns true598 not allowed by Global License599 returns false600 with promo feature flag601 is expected to be truthy602 when checking code_review_analytics only for Global license603 allowed by Global License604 returns true605 not allowed by Global License606 returns false607 contribution_analytics608 checking contribution_analytics availability both on Global and Namespace license609 allowed by Plan License AND Global License610 returns true611 when feature is disabled by a feature flag612 returns false613 not allowed by Plan License but project and namespace are public614 returns true615 not allowed by Global License616 returns false617 with promo feature flag618 is expected to be truthy619 when checking contribution_analytics only for Global license620 allowed by Global License621 returns true622 not allowed by Global License623 returns false624 description_diffs625 checking description_diffs availability both on Global and Namespace license626 allowed by Plan License AND Global License627 returns true628 when feature is disabled by a feature flag629 returns false630 not allowed by Plan License but project and namespace are public631 returns true632 not allowed by Global License633 returns false634 with promo feature flag635 is expected to be truthy636 when checking description_diffs only for Global license637 allowed by Global License638 returns true639 not allowed by Global License640 returns false641 elastic_search642 when checking elastic_search only for Global license643 allowed by Global License644 returns true645 not allowed by Global License646 returns false647 group_activity_analytics648 checking group_activity_analytics availability both on Global and Namespace license649 allowed by Plan License AND Global License650 returns true651 when feature is disabled by a feature flag652 returns false653 not allowed by Plan License but project and namespace are public654 returns true655 not allowed by Global License656 returns false657 with promo feature flag658 is expected to be truthy659 when checking group_activity_analytics only for Global license660 allowed by Global License661 returns true662 not allowed by Global License663 returns false664 group_bulk_edit665 checking group_bulk_edit availability both on Global and Namespace license666 allowed by Plan License AND Global License667 returns true668 when feature is disabled by a feature flag669 returns false670 not allowed by Plan License but project and namespace are public671 returns true672 not allowed by Global License673 returns false674 with promo feature flag675 is expected to be truthy676 when checking group_bulk_edit only for Global license677 allowed by Global License678 returns true679 not allowed by Global License680 returns false681 group_burndown_charts682 checking group_burndown_charts availability both on Global and Namespace license683 allowed by Plan License AND Global License684 returns true685 when feature is disabled by a feature flag686 returns false687 not allowed by Plan License but project and namespace are public688 returns true689 not allowed by Global License690 returns false691 with promo feature flag692 is expected to be truthy693 when checking group_burndown_charts only for Global license694 allowed by Global License695 returns true696 not allowed by Global License697 returns false698 group_webhooks699 checking group_webhooks availability both on Global and Namespace license700 allowed by Plan License AND Global License701 returns true702 when feature is disabled by a feature flag703 returns false704 not allowed by Plan License but project and namespace are public705 returns true706 not allowed by Global License707 returns false708 with promo feature flag709 is expected to be truthy710 when checking group_webhooks only for Global license711 allowed by Global License712 returns true713 not allowed by Global License714 returns false715 issuable_default_templates716 checking issuable_default_templates availability both on Global and Namespace license717 allowed by Plan License AND Global License718 returns true719 when feature is disabled by a feature flag720 returns false721 not allowed by Plan License but project and namespace are public722 returns true723 not allowed by Global License724 returns false725 with promo feature flag726 is expected to be truthy727 when checking issuable_default_templates only for Global license728 allowed by Global License729 returns true730 not allowed by Global License731 returns false732 issue_weights733 checking issue_weights availability both on Global and Namespace license734 allowed by Plan License AND Global License735 returns true736 when feature is disabled by a feature flag737 returns false738 not allowed by Plan License but project and namespace are public739 returns true740 not allowed by Global License741 returns false742 with promo feature flag743 is expected to be truthy744 when checking issue_weights only for Global license745 allowed by Global License746 returns true747 not allowed by Global License748 returns false749 iterations750 checking iterations availability both on Global and Namespace license751 allowed by Plan License AND Global License752 returns true753 when feature is disabled by a feature flag754 returns false755 not allowed by Plan License but project and namespace are public756 returns true757 not allowed by Global License758 returns false759 with promo feature flag760 is expected to be truthy761 when checking iterations only for Global license762 allowed by Global License763 returns true764 not allowed by Global License765 returns false766 jenkins_integration767 checking jenkins_integration availability both on Global and Namespace license768 allowed by Plan License AND Global License769 returns true770 when feature is disabled by a feature flag771 returns false772 not allowed by Plan License but project and namespace are public773 returns true774 not allowed by Global License775 returns false776 with promo feature flag777 is expected to be truthy778 when checking jenkins_integration only for Global license779 allowed by Global License780 returns true781 not allowed by Global License782 returns false783 ldap_group_sync784 when checking ldap_group_sync only for Global license785 allowed by Global License786 returns true787 not allowed by Global License788 returns false789 member_lock790 checking member_lock availability both on Global and Namespace license791 allowed by Plan License AND Global License792 returns true793 when feature is disabled by a feature flag794 returns false795 not allowed by Plan License but project and namespace are public796 returns true797 not allowed by Global License798 returns false799 with promo feature flag800 is expected to be truthy801 when checking member_lock only for Global license802 allowed by Global License803 returns true804 not allowed by Global License805 returns false806 merge_request_approvers807 checking merge_request_approvers availability both on Global and Namespace license808 allowed by Plan License AND Global License809 returns true810 when feature is disabled by a feature flag811 returns false812 not allowed by Plan License but project and namespace are public813 returns true814 not allowed by Global License815 returns false816 with promo feature flag817 is expected to be truthy818 when checking merge_request_approvers only for Global license819 allowed by Global License820 returns true821 not allowed by Global License822 returns false823 milestone_charts824 checking milestone_charts availability both on Global and Namespace license825 allowed by Plan License AND Global License826 returns true827 when feature is disabled by a feature flag828 returns false829 not allowed by Plan License but project and namespace are public830 returns true831 not allowed by Global License832 returns false833 with promo feature flag834 is expected to be truthy835 when checking milestone_charts only for Global license836 allowed by Global License837 returns true838 not allowed by Global License839 returns false840 multiple_issue_assignees841 checking multiple_issue_assignees availability both on Global and Namespace license842 allowed by Plan License AND Global License843 returns true844 when feature is disabled by a feature flag845 returns false846 not allowed by Plan License but project and namespace are public847 returns true848 not allowed by Global License849 returns false850 with promo feature flag851 is expected to be truthy852 when checking multiple_issue_assignees only for Global license853 allowed by Global License854 returns true855 not allowed by Global License856 returns false857 multiple_ldap_servers858 when checking multiple_ldap_servers only for Global license859 allowed by Global License860 returns true861 not allowed by Global License862 returns false863 multiple_merge_request_assignees864 checking multiple_merge_request_assignees availability both on Global and Namespace license865 allowed by Plan License AND Global License866 returns true867 when feature is disabled by a feature flag868 returns false869 not allowed by Plan License but project and namespace are public870 returns true871 not allowed by Global License872 returns false873 with promo feature flag874 is expected to be truthy875 when checking multiple_merge_request_assignees only for Global license876 allowed by Global License877 returns true878 not allowed by Global License879 returns false880 project_merge_request_analytics881 checking project_merge_request_analytics availability both on Global and Namespace license882 allowed by Plan License AND Global License883 returns true884 when feature is disabled by a feature flag885 returns false886 not allowed by Plan License but project and namespace are public887 returns true888 not allowed by Global License889 returns false890 with promo feature flag891 is expected to be truthy892 when checking project_merge_request_analytics only for Global license893 allowed by Global License894 returns true895 not allowed by Global License896 returns false897 protected_refs_for_users898 checking protected_refs_for_users availability both on Global and Namespace license899 allowed by Plan License AND Global License900 returns true901 when feature is disabled by a feature flag902 returns false903 not allowed by Plan License but project and namespace are public904 returns true905 not allowed by Global License906 returns false907 with promo feature flag908 is expected to be truthy909 when checking protected_refs_for_users only for Global license910 allowed by Global License911 returns true912 not allowed by Global License913 returns false914 push_rules915 checking push_rules availability both on Global and Namespace license916 allowed by Plan License AND Global License917 returns true918 when feature is disabled by a feature flag919 returns false920 not allowed by Plan License but project and namespace are public921 returns true922 not allowed by Global License923 returns false924 with promo feature flag925 is expected to be truthy926 when checking push_rules only for Global license927 allowed by Global License928 returns true929 not allowed by Global License930 returns false931 repository_mirrors932 checking repository_mirrors availability both on Global and Namespace license933 allowed by Plan License AND Global License934 returns true935 when feature is disabled by a feature flag936 returns false937 not allowed by Plan License but project and namespace are public938 returns true939 not allowed by Global License940 returns false941 with promo feature flag942 is expected to be truthy943 when checking repository_mirrors only for Global license944 allowed by Global License945 returns true946 not allowed by Global License947 returns false948 repository_size_limit949 when checking repository_size_limit only for Global license950 allowed by Global License951 returns true952 not allowed by Global License953 returns false954 seat_link955 when checking seat_link only for Global license956 allowed by Global License957 returns true958 not allowed by Global License959 returns false960 send_emails_from_admin_area961 checking send_emails_from_admin_area availability both on Global and Namespace license962 allowed by Plan License AND Global License963 returns true964 when feature is disabled by a feature flag965 returns false966 not allowed by Plan License but project and namespace are public967 returns true968 not allowed by Global License969 returns false970 with promo feature flag971 is expected to be truthy972 when checking send_emails_from_admin_area only for Global license973 allowed by Global License974 returns true975 not allowed by Global License976 returns false977 scoped_issue_board978 checking scoped_issue_board availability both on Global and Namespace license979 allowed by Plan License AND Global License980 returns true981 when feature is disabled by a feature flag982 returns false983 not allowed by Plan License but project and namespace are public984 returns true985 not allowed by Global License986 returns false987 with promo feature flag988 is expected to be truthy989 when checking scoped_issue_board only for Global license990 allowed by Global License991 returns true992 not allowed by Global License993 returns false994 usage_quotas995 when checking usage_quotas only for Global license996 allowed by Global License997 returns true998 not allowed by Global License999 returns false1000 visual_review_app1001 checking visual_review_app availability both on Global and Namespace license1002 allowed by Plan License AND Global License1003 returns true1004 when feature is disabled by a feature flag1005 returns false1006 not allowed by Plan License but project and namespace are public1007 returns true1008 not allowed by Global License1009 returns false1010 with promo feature flag1011 is expected to be truthy1012 when checking visual_review_app only for Global license1013 allowed by Global License1014 returns true1015 not allowed by Global License1016 returns false1017 wip_limits1018 checking wip_limits availability both on Global and Namespace license1019 allowed by Plan License AND Global License1020 returns true1021 when feature is disabled by a feature flag1022 returns false1023 not allowed by Plan License but project and namespace are public1024 returns true1025 not allowed by Global License1026 returns false1027 with promo feature flag1028 is expected to be truthy1029 when checking wip_limits only for Global license1030 allowed by Global License1031 returns true1032 not allowed by Global License1033 returns false1034 adjourned_deletion_for_projects_and_groups1035 checking adjourned_deletion_for_projects_and_groups availability both on Global and Namespace license1036 allowed by Plan License AND Global License1037 returns true1038 when feature is disabled by a feature flag1039 returns false1040 not allowed by Plan License but project and namespace are public1041 returns true1042 not allowed by Plan License1043 returns false1044 not allowed by Global License1045 returns false1046 with promo feature flag1047 is expected to be truthy1048 when checking adjourned_deletion_for_projects_and_groups only for Global license1049 allowed by Global License1050 returns true1051 not allowed by Global License1052 returns false1053 admin_audit_log1054 when checking admin_audit_log only for Global license1055 allowed by Global License1056 returns true1057 not allowed by Global License1058 returns false1059 auditor_user1060 when checking auditor_user only for Global license1061 allowed by Global License1062 returns true1063 not allowed by Global License1064 returns false1065 blocking_merge_requests1066 checking blocking_merge_requests availability both on Global and Namespace license1067 allowed by Plan License AND Global License1068 returns true1069 when feature is disabled by a feature flag1070 returns false1071 not allowed by Plan License but project and namespace are public1072 returns true1073 not allowed by Plan License1074 returns false1075 not allowed by Global License1076 returns false1077 with promo feature flag1078 is expected to be truthy1079 when checking blocking_merge_requests only for Global license1080 allowed by Global License1081 returns true1082 not allowed by Global License1083 returns false1084 board_assignee_lists1085 checking board_assignee_lists availability both on Global and Namespace license1086 allowed by Plan License AND Global License1087 returns true1088 when feature is disabled by a feature flag1089 returns false1090 not allowed by Plan License but project and namespace are public1091 returns true1092 not allowed by Plan License1093 returns false1094 not allowed by Global License1095 returns false1096 with promo feature flag1097 is expected to be truthy1098 when checking board_assignee_lists only for Global license1099 allowed by Global License1100 returns true1101 not allowed by Global License1102 returns false1103 board_milestone_lists1104 checking board_milestone_lists availability both on Global and Namespace license1105 allowed by Plan License AND Global License1106 returns true1107 when feature is disabled by a feature flag1108 returns false1109 not allowed by Plan License but project and namespace are public1110 returns true1111 not allowed by Plan License1112 returns false1113 not allowed by Global License1114 returns false1115 with promo feature flag1116 is expected to be truthy1117 when checking board_milestone_lists only for Global license1118 allowed by Global License1119 returns true1120 not allowed by Global License1121 returns false1122 ci_cd_projects1123 checking ci_cd_projects availability both on Global and Namespace license1124 allowed by Plan License AND Global License1125 returns true1126 when feature is disabled by a feature flag1127 returns false1128 not allowed by Plan License but project and namespace are public1129 returns true1130 not allowed by Plan License1131 returns false1132 not allowed by Global License1133 returns false1134 with promo feature flag1135 is expected to be truthy1136 when checking ci_cd_projects only for Global license1137 allowed by Global License1138 returns true1139 not allowed by Global License1140 returns false1141 ci_secrets_management1142 checking ci_secrets_management availability both on Global and Namespace license1143 allowed by Plan License AND Global License1144 returns true1145 when feature is disabled by a feature flag1146 returns false1147 not allowed by Plan License but project and namespace are public1148 returns true1149 not allowed by Plan License1150 returns false1151 not allowed by Global License1152 returns false1153 with promo feature flag1154 is expected to be truthy1155 when checking ci_secrets_management only for Global license1156 allowed by Global License1157 returns true1158 not allowed by Global License1159 returns false1160 cluster_agents1161 checking cluster_agents availability both on Global and Namespace license1162 allowed by Plan License AND Global License1163 returns true1164 when feature is disabled by a feature flag1165 returns false1166 not allowed by Plan License but project and namespace are public1167 returns true1168 not allowed by Plan License1169 returns false1170 not allowed by Global License1171 returns false1172 with promo feature flag1173 is expected to be truthy1174 when checking cluster_agents only for Global license1175 allowed by Global License1176 returns true1177 not allowed by Global License1178 returns false1179 cluster_deployments1180 checking cluster_deployments availability both on Global and Namespace license1181 allowed by Plan License AND Global License1182 returns true1183 when feature is disabled by a feature flag1184 returns false1185 not allowed by Plan License but project and namespace are public1186 returns true1187 not allowed by Plan License1188 returns false1189 not allowed by Global License1190 returns false1191 with promo feature flag1192 is expected to be truthy1193 when checking cluster_deployments only for Global license1194 allowed by Global License1195 returns true1196 not allowed by Global License1197 returns false1198 code_owner_approval_required1199 checking code_owner_approval_required availability both on Global and Namespace license1200 allowed by Plan License AND Global License1201 returns true1202 when feature is disabled by a feature flag1203 returns false1204 not allowed by Plan License but project and namespace are public1205 returns true1206 not allowed by Plan License1207 returns false1208 not allowed by Global License1209 returns false1210 with promo feature flag1211 is expected to be truthy1212 when checking code_owner_approval_required only for Global license1213 allowed by Global License1214 returns true1215 not allowed by Global License1216 returns false1217 commit_committer_check1218 checking commit_committer_check availability both on Global and Namespace license1219 allowed by Plan License AND Global License1220 returns true1221 when feature is disabled by a feature flag1222 returns false1223 not allowed by Plan License but project and namespace are public1224 returns true1225 not allowed by Plan License1226 returns false1227 not allowed by Global License1228 returns false1229 with promo feature flag1230 is expected to be truthy1231 when checking commit_committer_check only for Global license1232 allowed by Global License1233 returns true1234 not allowed by Global License1235 returns false1236 compliance_framework1237 checking compliance_framework availability both on Global and Namespace license1238 allowed by Plan License AND Global License1239 returns true1240 when feature is disabled by a feature flag1241 returns false1242 not allowed by Plan License but project and namespace are public1243 returns true1244 not allowed by Plan License1245 returns false1246 not allowed by Global License1247 returns false1248 with promo feature flag1249 is expected to be truthy1250 when checking compliance_framework only for Global license1251 allowed by Global License1252 returns true1253 not allowed by Global License1254 returns false1255 cross_project_pipelines1256 checking cross_project_pipelines availability both on Global and Namespace license1257 allowed by Plan License AND Global License1258 returns true1259 when feature is disabled by a feature flag1260 returns false1261 not allowed by Plan License but project and namespace are public1262 returns true1263 not allowed by Plan License1264 returns false1265 not allowed by Global License1266 returns false1267 with promo feature flag1268 is expected to be truthy1269 when checking cross_project_pipelines only for Global license1270 allowed by Global License1271 returns true1272 not allowed by Global License1273 returns false1274 custom_file_templates1275 when checking custom_file_templates only for Global license1276 allowed by Global License1277 returns true1278 not allowed by Global License1279 returns false1280 custom_file_templates_for_namespace1281 checking custom_file_templates_for_namespace availability both on Global and Namespace license1282 allowed by Plan License AND Global License1283 returns true1284 when feature is disabled by a feature flag1285 returns false1286 not allowed by Plan License but project and namespace are public1287 returns true1288 not allowed by Plan License1289 returns false1290 not allowed by Global License1291 returns false1292 with promo feature flag1293 is expected to be truthy1294 when checking custom_file_templates_for_namespace only for Global license1295 allowed by Global License1296 returns true1297 not allowed by Global License1298 returns false1299 custom_project_templates1300 when checking custom_project_templates only for Global license1301 allowed by Global License1302 returns true1303 not allowed by Global License1304 returns false1305 cycle_analytics_for_groups1306 checking cycle_analytics_for_groups availability both on Global and Namespace license1307 allowed by Plan License AND Global License1308 returns true1309 when feature is disabled by a feature flag1310 returns false1311 not allowed by Plan License but project and namespace are public1312 returns true1313 not allowed by Plan License1314 returns false1315 not allowed by Global License1316 returns false1317 with promo feature flag1318 is expected to be truthy1319 when checking cycle_analytics_for_groups only for Global license1320 allowed by Global License1321 returns true1322 not allowed by Global License1323 returns false1324 db_load_balancing1325 when checking db_load_balancing only for Global license1326 allowed by Global License1327 returns true1328 not allowed by Global License1329 returns false1330 default_branch_protection_restriction_in_groups1331 when checking default_branch_protection_restriction_in_groups only for Global license1332 allowed by Global License1333 returns true1334 not allowed by Global License1335 returns false1336 default_project_deletion_protection1337 checking default_project_deletion_protection availability both on Global and Namespace license1338 allowed by Plan License AND Global License1339 returns true1340 when feature is disabled by a feature flag1341 returns false1342 not allowed by Plan License but project and namespace are public1343 returns true1344 not allowed by Plan License1345 returns false1346 not allowed by Global License1347 returns false1348 with promo feature flag1349 is expected to be truthy1350 when checking default_project_deletion_protection only for Global license1351 allowed by Global License1352 returns true1353 not allowed by Global License1354 returns false1355 dependency_proxy1356 checking dependency_proxy availability both on Global and Namespace license1357 allowed by Plan License AND Global License1358 returns true1359 when feature is disabled by a feature flag1360 returns false1361 not allowed by Plan License but project and namespace are public1362 returns true1363 not allowed by Plan License1364 returns false1365 not allowed by Global License1366 returns false1367 with promo feature flag1368 is expected to be truthy1369 when checking dependency_proxy only for Global license1370 allowed by Global License1371 returns true1372 not allowed by Global License1373 returns false1374 deploy_board1375 checking deploy_board availability both on Global and Namespace license1376 allowed by Plan License AND Global License1377 returns true1378 when feature is disabled by a feature flag1379 returns false1380 not allowed by Plan License but project and namespace are public1381 returns true1382 not allowed by Plan License1383 returns false1384 not allowed by Global License1385 returns false1386 with promo feature flag1387 is expected to be truthy1388 when checking deploy_board only for Global license1389 allowed by Global License1390 returns true1391 not allowed by Global License1392 returns false1393 disable_name_update_for_users1394 checking disable_name_update_for_users availability both on Global and Namespace license1395 allowed by Plan License AND Global License1396 returns true1397 when feature is disabled by a feature flag1398 returns false1399 not allowed by Plan License but project and namespace are public1400 returns true1401 not allowed by Plan License1402 returns false1403 not allowed by Global License1404 returns false1405 with promo feature flag1406 is expected to be truthy1407 when checking disable_name_update_for_users only for Global license1408 allowed by Global License1409 returns true1410 not allowed by Global License1411 returns false1412 email_additional_text1413 checking email_additional_text availability both on Global and Namespace license1414 allowed by Plan License AND Global License1415 returns true1416 when feature is disabled by a feature flag1417 returns false1418 not allowed by Plan License but project and namespace are public1419 returns true1420 not allowed by Plan License1421 returns false1422 not allowed by Global License1423 returns false1424 with promo feature flag1425 is expected to be truthy1426 when checking email_additional_text only for Global license1427 allowed by Global License1428 returns true1429 not allowed by Global License1430 returns false1431 epics1432 checking epics availability both on Global and Namespace license1433 allowed by Plan License AND Global License1434 returns true1435 when feature is disabled by a feature flag1436 returns false1437 not allowed by Plan License but project and namespace are public1438 returns true1439 not allowed by Plan License1440 returns false1441 not allowed by Global License1442 returns false1443 with promo feature flag1444 is expected to be truthy1445 when checking epics only for Global license1446 allowed by Global License1447 returns true1448 not allowed by Global License1449 returns false1450 extended_audit_events1451 when checking extended_audit_events only for Global license1452 allowed by Global License1453 returns true1454 not allowed by Global License1455 returns false1456 external_authorization_service_api_management1457 when checking external_authorization_service_api_management only for Global license1458 allowed by Global License1459 returns true1460 not allowed by Global License1461 returns false1462 feature_flags1463 checking feature_flags availability both on Global and Namespace license1464 allowed by Plan License AND Global License1465 returns true1466 when feature is disabled by a feature flag1467 returns false1468 not allowed by Plan License but project and namespace are public1469 returns true1470 not allowed by Plan License1471 returns false1472 not allowed by Global License1473 returns false1474 with promo feature flag1475 is expected to be truthy1476 when checking feature_flags only for Global license1477 allowed by Global License1478 returns true1479 not allowed by Global License1480 returns false1481 file_locks1482 checking file_locks availability both on Global and Namespace license1483 allowed by Plan License AND Global License1484 returns true1485 when feature is disabled by a feature flag1486 returns false1487 not allowed by Plan License but project and namespace are public1488 returns true1489 not allowed by Plan License1490 returns false1491 not allowed by Global License1492 returns false1493 with promo feature flag1494 is expected to be truthy1495 when checking file_locks only for Global license1496 allowed by Global License1497 returns true1498 not allowed by Global License1499 returns false1500 geo1501 when checking geo only for Global license1502 allowed by Global License1503 returns true1504 not allowed by Global License1505 returns false1506 generic_alert_fingerprinting1507 checking generic_alert_fingerprinting availability both on Global and Namespace license1508 allowed by Plan License AND Global License1509 returns true1510 when feature is disabled by a feature flag1511 returns false1512 not allowed by Plan License but project and namespace are public1513 returns true1514 not allowed by Plan License1515 returns false1516 not allowed by Global License1517 returns false1518 with promo feature flag1519 is expected to be truthy1520 when checking generic_alert_fingerprinting only for Global license1521 allowed by Global License1522 returns true1523 not allowed by Global License1524 returns false1525 github_project_service_integration1526 checking github_project_service_integration availability both on Global and Namespace license1527 allowed by Plan License AND Global License1528 returns true1529 when feature is disabled by a feature flag1530 returns false1531 not allowed by Plan License but project and namespace are public1532 returns true1533 not allowed by Plan License1534 returns false1535 not allowed by Global License1536 returns false1537 with promo feature flag1538 is expected to be truthy1539 when checking github_project_service_integration only for Global license1540 allowed by Global License1541 returns true1542 not allowed by Global License1543 returns false1544 group_allowed_email_domains1545 checking group_allowed_email_domains availability both on Global and Namespace license1546 allowed by Plan License AND Global License1547 returns true1548 when feature is disabled by a feature flag1549 returns false1550 not allowed by Plan License but project and namespace are public1551 returns true1552 not allowed by Plan License1553 returns false1554 not allowed by Global License1555 returns false1556 with promo feature flag1557 is expected to be truthy1558 when checking group_allowed_email_domains only for Global license1559 allowed by Global License1560 returns true1561 not allowed by Global License1562 returns false1563 group_coverage_reports1564 checking group_coverage_reports availability both on Global and Namespace license1565 allowed by Plan License AND Global License1566 returns true1567 when feature is disabled by a feature flag1568 returns false1569 not allowed by Plan License but project and namespace are public1570 returns true1571 not allowed by Plan License1572 returns false1573 not allowed by Global License1574 returns false1575 with promo feature flag1576 is expected to be truthy1577 when checking group_coverage_reports only for Global license1578 allowed by Global License1579 returns true1580 not allowed by Global License1581 returns false1582 group_forking_protection1583 checking group_forking_protection availability both on Global and Namespace license1584 allowed by Plan License AND Global License1585 returns true1586 when feature is disabled by a feature flag1587 returns false1588 not allowed by Plan License but project and namespace are public1589 returns true1590 not allowed by Plan License1591 returns false1592 not allowed by Global License1593 returns false1594 with promo feature flag1595 is expected to be truthy1596 when checking group_forking_protection only for Global license1597 allowed by Global License1598 returns true1599 not allowed by Global License1600 returns false1601 group_ip_restriction1602 checking group_ip_restriction availability both on Global and Namespace license1603 allowed by Plan License AND Global License1604 returns true1605 when feature is disabled by a feature flag1606 returns false1607 not allowed by Plan License but project and namespace are public1608 returns true1609 not allowed by Plan License1610 returns false1611 not allowed by Global License1612 returns false1613 with promo feature flag1614 is expected to be truthy1615 when checking group_ip_restriction only for Global license1616 allowed by Global License1617 returns true1618 not allowed by Global License1619 returns false1620 group_merge_request_analytics1621 checking group_merge_request_analytics availability both on Global and Namespace license1622 allowed by Plan License AND Global License1623 returns true1624 when feature is disabled by a feature flag1625 returns false1626 not allowed by Plan License but project and namespace are public1627 returns true1628 not allowed by Plan License1629 returns false1630 not allowed by Global License1631 returns false1632 with promo feature flag1633 is expected to be truthy1634 when checking group_merge_request_analytics only for Global license1635 allowed by Global License1636 returns true1637 not allowed by Global License1638 returns false1639 group_project_templates1640 checking group_project_templates availability both on Global and Namespace license1641 allowed by Plan License AND Global License1642 returns true1643 when feature is disabled by a feature flag1644 returns false1645 not allowed by Plan License but project and namespace are public1646 returns true1647 not allowed by Plan License1648 returns false1649 not allowed by Global License1650 returns false1651 with promo feature flag1652 is expected to be truthy1653 when checking group_project_templates only for Global license1654 allowed by Global License1655 returns true1656 not allowed by Global License1657 returns false1658 group_saml1659 checking group_saml availability both on Global and Namespace license1660 allowed by Plan License AND Global License1661 returns true1662 when feature is disabled by a feature flag1663 returns false1664 not allowed by Plan License but project and namespace are public1665 returns true1666 not allowed by Plan License1667 returns false1668 not allowed by Global License1669 returns false1670 with promo feature flag1671 is expected to be truthy1672 when checking group_saml only for Global license1673 allowed by Global License1674 returns true1675 not allowed by Global License1676 returns false1677 issues_analytics1678 checking issues_analytics availability both on Global and Namespace license1679 allowed by Plan License AND Global License1680 returns true1681 when feature is disabled by a feature flag1682 returns false1683 not allowed by Plan License but project and namespace are public1684 returns true1685 not allowed by Plan License1686 returns false1687 not allowed by Global License1688 returns false1689 with promo feature flag1690 is expected to be truthy1691 when checking issues_analytics only for Global license1692 allowed by Global License1693 returns true1694 not allowed by Global License1695 returns false1696 jira_dev_panel_integration1697 checking jira_dev_panel_integration availability both on Global and Namespace license1698 allowed by Plan License AND Global License1699 returns true1700 when feature is disabled by a feature flag1701 returns false1702 not allowed by Plan License but project and namespace are public1703 returns true1704 not allowed by Plan License1705 returns false1706 not allowed by Global License1707 returns false1708 with promo feature flag1709 is expected to be truthy1710 when checking jira_dev_panel_integration only for Global license1711 allowed by Global License1712 returns true1713 not allowed by Global License1714 returns false1715 jira_issues_integration1716 checking jira_issues_integration availability both on Global and Namespace license1717 allowed by Plan License AND Global License1718 returns true1719 when feature is disabled by a feature flag1720 returns false1721 not allowed by Plan License but project and namespace are public1722 returns true1723 not allowed by Plan License1724 returns false1725 not allowed by Global License1726 returns false1727 with promo feature flag1728 is expected to be truthy1729 when checking jira_issues_integration only for Global license1730 allowed by Global License1731 returns true1732 not allowed by Global License1733 returns false1734 ldap_group_sync_filter1735 when checking ldap_group_sync_filter only for Global license1736 allowed by Global License1737 returns true1738 not allowed by Global License1739 returns false1740 merge_pipelines1741 checking merge_pipelines availability both on Global and Namespace license1742 allowed by Plan License AND Global License1743 returns true1744 when feature is disabled by a feature flag1745 returns false1746 not allowed by Plan License but project and namespace are public1747 returns true1748 not allowed by Plan License1749 returns false1750 not allowed by Global License1751 returns false1752 with promo feature flag1753 is expected to be truthy1754 when checking merge_pipelines only for Global license1755 allowed by Global License1756 returns true1757 not allowed by Global License1758 returns false1759 merge_request_performance_metrics1760 checking merge_request_performance_metrics availability both on Global and Namespace license1761 allowed by Plan License AND Global License1762 returns true1763 when feature is disabled by a feature flag1764 returns false1765 not allowed by Plan License but project and namespace are public1766 returns true1767 not allowed by Plan License1768 returns false1769 not allowed by Global License1770 returns false1771 with promo feature flag1772 is expected to be truthy1773 when checking merge_request_performance_metrics only for Global license1774 allowed by Global License1775 returns true1776 not allowed by Global License1777 returns false1778 admin_merge_request_approvers_rules1779 checking admin_merge_request_approvers_rules availability both on Global and Namespace license1780 allowed by Plan License AND Global License1781 returns true1782 when feature is disabled by a feature flag1783 returns false1784 not allowed by Plan License but project and namespace are public1785 returns true1786 not allowed by Plan License1787 returns false1788 not allowed by Global License1789 returns false1790 with promo feature flag1791 is expected to be truthy1792 when checking admin_merge_request_approvers_rules only for Global license1793 allowed by Global License1794 returns true1795 not allowed by Global License1796 returns false1797 merge_trains1798 checking merge_trains availability both on Global and Namespace license1799 allowed by Plan License AND Global License1800 returns true1801 when feature is disabled by a feature flag1802 returns false1803 not allowed by Plan License but project and namespace are public1804 returns true1805 not allowed by Plan License1806 returns false1807 not allowed by Global License1808 returns false1809 with promo feature flag1810 is expected to be truthy1811 when checking merge_trains only for Global license1812 allowed by Global License1813 returns true1814 not allowed by Global License1815 returns false1816 metrics_reports1817 checking metrics_reports availability both on Global and Namespace license1818 allowed by Plan License AND Global License1819 returns true1820 when feature is disabled by a feature flag1821 returns false1822 not allowed by Plan License but project and namespace are public1823 returns true1824 not allowed by Plan License1825 returns false1826 not allowed by Global License1827 returns false1828 with promo feature flag1829 is expected to be truthy1830 when checking metrics_reports only for Global license1831 allowed by Global License1832 returns true1833 not allowed by Global License1834 returns false1835 multiple_approval_rules1836 checking multiple_approval_rules availability both on Global and Namespace license1837 allowed by Plan License AND Global License1838 returns true1839 when feature is disabled by a feature flag1840 returns false1841 not allowed by Plan License but project and namespace are public1842 returns true1843 not allowed by Plan License1844 returns false1845 not allowed by Global License1846 returns false1847 with promo feature flag1848 is expected to be truthy1849 when checking multiple_approval_rules only for Global license1850 allowed by Global License1851 returns true1852 not allowed by Global License1853 returns false1854 multiple_group_issue_boards1855 checking multiple_group_issue_boards availability both on Global and Namespace license1856 allowed by Plan License AND Global License1857 returns true1858 when feature is disabled by a feature flag1859 returns false1860 not allowed by Plan License but project and namespace are public1861 returns true1862 not allowed by Plan License1863 returns false1864 not allowed by Global License1865 returns false1866 with promo feature flag1867 is expected to be truthy1868 when checking multiple_group_issue_boards only for Global license1869 allowed by Global License1870 returns true1871 not allowed by Global License1872 returns false1873 object_storage1874 when checking object_storage only for Global license1875 allowed by Global License1876 returns true1877 not allowed by Global License1878 returns false1879 operations_dashboard1880 checking operations_dashboard availability both on Global and Namespace license1881 allowed by Plan License AND Global License1882 returns true1883 when feature is disabled by a feature flag1884 returns false1885 not allowed by Plan License but project and namespace are public1886 returns true1887 not allowed by Plan License1888 returns false1889 not allowed by Global License1890 returns false1891 with promo feature flag1892 is expected to be truthy1893 when checking operations_dashboard only for Global license1894 allowed by Global License1895 returns true1896 not allowed by Global License1897 returns false1898 opsgenie_integration1899 checking opsgenie_integration availability both on Global and Namespace license1900 allowed by Plan License AND Global License1901 returns true1902 when feature is disabled by a feature flag1903 returns false1904 not allowed by Plan License but project and namespace are public1905 returns true1906 not allowed by Plan License1907 returns false1908 not allowed by Global License1909 returns false1910 with promo feature flag1911 is expected to be truthy1912 when checking opsgenie_integration only for Global license1913 allowed by Global License1914 returns true1915 not allowed by Global License1916 returns false1917 package_forwarding1918 checking package_forwarding availability both on Global and Namespace license1919 allowed by Plan License AND Global License1920 returns true1921 when feature is disabled by a feature flag1922 returns false1923 not allowed by Plan License but project and namespace are public1924 returns true1925 not allowed by Plan License1926 returns false1927 not allowed by Global License1928 returns false1929 with promo feature flag1930 is expected to be truthy1931 when checking package_forwarding only for Global license1932 allowed by Global License1933 returns true1934 not allowed by Global License1935 returns false1936 pages_size_limit1937 when checking pages_size_limit only for Global license1938 allowed by Global License1939 returns true1940 not allowed by Global License1941 returns false1942 productivity_analytics1943 checking productivity_analytics availability both on Global and Namespace license1944 allowed by Plan License AND Global License1945 returns true1946 when feature is disabled by a feature flag1947 returns false1948 not allowed by Plan License but project and namespace are public1949 returns true1950 not allowed by Plan License1951 returns false1952 not allowed by Global License1953 returns false1954 with promo feature flag1955 is expected to be truthy1956 when checking productivity_analytics only for Global license1957 allowed by Global License1958 returns true1959 not allowed by Global License1960 returns false1961 project_aliases1962 when checking project_aliases only for Global license1963 allowed by Global License1964 returns true1965 not allowed by Global License1966 returns false1967 protected_environments1968 checking protected_environments availability both on Global and Namespace license1969 allowed by Plan License AND Global License1970 returns true1971 when feature is disabled by a feature flag1972 returns false1973 not allowed by Plan License but project and namespace are public1974 returns true1975 not allowed by Plan License1976 returns false1977 not allowed by Global License1978 returns false1979 with promo feature flag1980 is expected to be truthy1981 when checking protected_environments only for Global license1982 allowed by Global License1983 returns true1984 not allowed by Global License1985 returns false1986 reject_unsigned_commits1987 checking reject_unsigned_commits availability both on Global and Namespace license1988 allowed by Plan License AND Global License1989 returns true1990 when feature is disabled by a feature flag1991 returns false1992 not allowed by Plan License but project and namespace are public1993 returns true1994 not allowed by Plan License1995 returns false1996 not allowed by Global License1997 returns false1998 with promo feature flag1999 is expected to be truthy2000 when checking reject_unsigned_commits only for Global license2001 allowed by Global License2002 returns true2003 not allowed by Global License2004 returns false2005 required_ci_templates2006 when checking required_ci_templates only for Global license2007 allowed by Global License2008 returns true2009 not allowed by Global License2010 returns false2011 scoped_labels2012 checking scoped_labels availability both on Global and Namespace license2013 allowed by Plan License AND Global License2014 returns true2015 when feature is disabled by a feature flag2016 returns false2017 not allowed by Plan License but project and namespace are public2018 returns true2019 not allowed by Plan License2020 returns false2021 not allowed by Global License2022 returns false2023 with promo feature flag2024 is expected to be truthy2025 when checking scoped_labels only for Global license2026 allowed by Global License2027 returns true2028 not allowed by Global License2029 returns false2030 smartcard_auth2031 checking smartcard_auth availability both on Global and Namespace license2032 allowed by Plan License AND Global License2033 returns true2034 when feature is disabled by a feature flag2035 returns false2036 not allowed by Plan License but project and namespace are public2037 returns true2038 not allowed by Plan License2039 returns false2040 not allowed by Global License2041 returns false2042 with promo feature flag2043 is expected to be truthy2044 when checking smartcard_auth only for Global license2045 allowed by Global License2046 returns true2047 not allowed by Global License2048 returns false2049 group_timelogs2050 checking group_timelogs availability both on Global and Namespace license2051 allowed by Plan License AND Global License2052 returns true2053 when feature is disabled by a feature flag2054 returns false2055 not allowed by Plan License but project and namespace are public2056 returns true2057 not allowed by Plan License2058 returns false2059 not allowed by Global License2060 returns false2061 with promo feature flag2062 is expected to be truthy2063 when checking group_timelogs only for Global license2064 allowed by Global License2065 returns true2066 not allowed by Global License2067 returns false2068 type_of_work_analytics2069 checking type_of_work_analytics availability both on Global and Namespace license2070 allowed by Plan License AND Global License2071 returns true2072 when feature is disabled by a feature flag2073 returns false2074 not allowed by Plan License but project and namespace are public2075 returns true2076 not allowed by Plan License2077 returns false2078 not allowed by Global License2079 returns false2080 with promo feature flag2081 is expected to be truthy2082 when checking type_of_work_analytics only for Global license2083 allowed by Global License2084 returns true2085 not allowed by Global License2086 returns false2087 unprotection_restrictions2088 checking unprotection_restrictions availability both on Global and Namespace license2089 allowed by Plan License AND Global License2090 returns true2091 when feature is disabled by a feature flag2092 returns false2093 not allowed by Plan License but project and namespace are public2094 returns true2095 not allowed by Plan License2096 returns false2097 not allowed by Global License2098 returns false2099 with promo feature flag2100 is expected to be truthy2101 when checking unprotection_restrictions only for Global license2102 allowed by Global License2103 returns true2104 not allowed by Global License2105 returns false2106 ci_project_subscriptions2107 checking ci_project_subscriptions availability both on Global and Namespace license2108 allowed by Plan License AND Global License2109 returns true2110 when feature is disabled by a feature flag2111 returns false2112 not allowed by Plan License but project and namespace are public2113 returns true2114 not allowed by Plan License2115 returns false2116 not allowed by Global License2117 returns false2118 with promo feature flag2119 is expected to be truthy2120 when checking ci_project_subscriptions only for Global license2121 allowed by Global License2122 returns true2123 not allowed by Global License2124 returns false2125 container_scanning2126 checking container_scanning availability both on Global and Namespace license2127 allowed by Plan License AND Global License2128 returns true2129 when feature is disabled by a feature flag2130 returns false2131 not allowed by Plan License but project and namespace are public2132 returns true2133 not allowed by Plan License2134 returns false2135 not allowed by Global License2136 returns false2137 with promo feature flag2138 is expected to be truthy2139 when checking container_scanning only for Global license2140 allowed by Global License2141 returns true2142 not allowed by Global License2143 returns false2144 coverage_fuzzing2145 checking coverage_fuzzing availability both on Global and Namespace license2146 allowed by Plan License AND Global License2147 returns true2148 when feature is disabled by a feature flag2149 returns false2150 not allowed by Plan License but project and namespace are public2151 returns true2152 not allowed by Plan License2153 returns false2154 not allowed by Global License2155 returns false2156 with promo feature flag2157 is expected to be truthy2158 when checking coverage_fuzzing only for Global license2159 allowed by Global License2160 returns true2161 not allowed by Global License2162 returns false2163 credentials_inventory2164 checking credentials_inventory availability both on Global and Namespace license2165 allowed by Plan License AND Global License2166 returns true2167 when feature is disabled by a feature flag2168 returns false2169 not allowed by Plan License but project and namespace are public2170 returns true2171 not allowed by Plan License2172 returns false2173 not allowed by Global License2174 returns false2175 with promo feature flag2176 is expected to be truthy2177 when checking credentials_inventory only for Global license2178 allowed by Global License2179 returns true2180 not allowed by Global License2181 returns false2182 dast2183 checking dast availability both on Global and Namespace license2184 allowed by Plan License AND Global License2185 returns true2186 when feature is disabled by a feature flag2187 returns false2188 not allowed by Plan License but project and namespace are public2189 returns true2190 not allowed by Plan License2191 returns false2192 not allowed by Global License2193 returns false2194 with promo feature flag2195 is expected to be truthy2196 when checking dast only for Global license2197 allowed by Global License2198 returns true2199 not allowed by Global License2200 returns false2201 dependency_scanning2202 checking dependency_scanning availability both on Global and Namespace license2203 allowed by Plan License AND Global License2204 returns true2205 when feature is disabled by a feature flag2206 returns false2207 not allowed by Plan License but project and namespace are public2208 returns true2209 not allowed by Plan License2210 returns false2211 not allowed by Global License2212 returns false2213 with promo feature flag2214 is expected to be truthy2215 when checking dependency_scanning only for Global license2216 allowed by Global License2217 returns true2218 not allowed by Global License2219 returns false2220 enterprise_templates2221 when checking enterprise_templates only for Global license2222 allowed by Global License2223 returns true2224 not allowed by Global License2225 returns false2226 api_fuzzing2227 checking api_fuzzing availability both on Global and Namespace license2228 allowed by Plan License AND Global License2229 returns true2230 when feature is disabled by a feature flag2231 returns false2232 not allowed by Plan License but project and namespace are public2233 returns true2234 not allowed by Plan License2235 returns false2236 not allowed by Global License2237 returns false2238 with promo feature flag2239 is expected to be truthy2240 when checking api_fuzzing only for Global license2241 allowed by Global License2242 returns true2243 not allowed by Global License2244 returns false2245 group_level_compliance_dashboard2246 checking group_level_compliance_dashboard availability both on Global and Namespace license2247 allowed by Plan License AND Global License2248 returns true2249 when feature is disabled by a feature flag2250 returns false2251 not allowed by Plan License but project and namespace are public2252 returns true2253 not allowed by Plan License2254 returns false2255 not allowed by Global License2256 returns false2257 with promo feature flag2258 is expected to be truthy2259 when checking group_level_compliance_dashboard only for Global license2260 allowed by Global License2261 returns true2262 not allowed by Global License2263 returns false2264 incident_management2265 checking incident_management availability both on Global and Namespace license2266 allowed by Plan License AND Global License2267 returns true2268 when feature is disabled by a feature flag2269 returns false2270 not allowed by Plan License but project and namespace are public2271 returns true2272 not allowed by Plan License2273 returns false2274 not allowed by Global License2275 returns false2276 with promo feature flag2277 is expected to be truthy2278 when checking incident_management only for Global license2279 allowed by Global License2280 returns true2281 not allowed by Global License2282 returns false2283 insights2284 checking insights availability both on Global and Namespace license2285 allowed by Plan License AND Global License2286 returns true2287 when feature is disabled by a feature flag2288 returns false2289 not allowed by Plan License but project and namespace are public2290 returns true2291 not allowed by Plan License2292 returns false2293 not allowed by Global License2294 returns false2295 with promo feature flag2296 is expected to be truthy2297 when checking insights only for Global license2298 allowed by Global License2299 returns true2300 not allowed by Global License2301 returns false2302 issuable_health_status2303 checking issuable_health_status availability both on Global and Namespace license2304 allowed by Plan License AND Global License2305 returns true2306 when feature is disabled by a feature flag2307 returns false2308 not allowed by Plan License but project and namespace are public2309 returns true2310 not allowed by Plan License2311 returns false2312 not allowed by Global License2313 returns false2314 with promo feature flag2315 is expected to be truthy2316 when checking issuable_health_status only for Global license2317 allowed by Global License2318 returns true2319 not allowed by Global License2320 returns false2321 license_scanning2322 checking license_scanning availability both on Global and Namespace license2323 allowed by Plan License AND Global License2324 returns true2325 when feature is disabled by a feature flag2326 returns false2327 not allowed by Plan License but project and namespace are public2328 returns true2329 not allowed by Plan License2330 returns false2331 not allowed by Global License2332 returns false2333 with promo feature flag2334 is expected to be truthy2335 when checking license_scanning only for Global license2336 allowed by Global License2337 returns true2338 not allowed by Global License2339 returns false2340 personal_access_token_api_management2341 checking personal_access_token_api_management availability both on Global and Namespace license2342 allowed by Plan License AND Global License2343 returns true2344 when feature is disabled by a feature flag2345 returns false2346 not allowed by Plan License but project and namespace are public2347 returns true2348 not allowed by Plan License2349 returns false2350 not allowed by Global License2351 returns false2352 with promo feature flag2353 is expected to be truthy2354 when checking personal_access_token_api_management only for Global license2355 allowed by Global License2356 returns true2357 not allowed by Global License2358 returns false2359 personal_access_token_expiration_policy2360 checking personal_access_token_expiration_policy availability both on Global and Namespace license2361 allowed by Plan License AND Global License2362 returns true2363 when feature is disabled by a feature flag2364 returns false2365 not allowed by Plan License but project and namespace are public2366 returns true2367 not allowed by Plan License2368 returns false2369 not allowed by Global License2370 returns false2371 with promo feature flag2372 is expected to be truthy2373 when checking personal_access_token_expiration_policy only for Global license2374 allowed by Global License2375 returns true2376 not allowed by Global License2377 returns false2378 enforce_pat_expiration2379 checking enforce_pat_expiration availability both on Global and Namespace license2380 allowed by Plan License AND Global License2381 returns true2382 when feature is disabled by a feature flag2383 returns false2384 not allowed by Plan License but project and namespace are public2385 returns true2386 not allowed by Plan License2387 returns false2388 not allowed by Global License2389 returns false2390 with promo feature flag2391 is expected to be truthy2392 when checking enforce_pat_expiration only for Global license2393 allowed by Global License2394 returns true2395 not allowed by Global License2396 returns false2397 prometheus_alerts2398 checking prometheus_alerts availability both on Global and Namespace license2399 allowed by Plan License AND Global License2400 returns true2401 when feature is disabled by a feature flag2402 returns false2403 not allowed by Plan License but project and namespace are public2404 returns true2405 not allowed by Plan License2406 returns false2407 not allowed by Global License2408 returns false2409 with promo feature flag2410 is expected to be truthy2411 when checking prometheus_alerts only for Global license2412 allowed by Global License2413 returns true2414 not allowed by Global License2415 returns false2416 pseudonymizer2417 checking pseudonymizer availability both on Global and Namespace license2418 allowed by Plan License AND Global License2419 returns true2420 when feature is disabled by a feature flag2421 returns false2422 not allowed by Plan License but project and namespace are public2423 returns true2424 not allowed by Plan License2425 returns false2426 not allowed by Global License2427 returns false2428 with promo feature flag2429 is expected to be truthy2430 when checking pseudonymizer only for Global license2431 allowed by Global License2432 returns true2433 not allowed by Global License2434 returns false2435 release_evidence_test_artifacts2436 checking release_evidence_test_artifacts availability both on Global and Namespace license2437 allowed by Plan License AND Global License2438 returns true2439 when feature is disabled by a feature flag2440 returns false2441 not allowed by Plan License but project and namespace are public2442 returns true2443 not allowed by Plan License2444 returns false2445 not allowed by Global License2446 returns false2447 with promo feature flag2448 is expected to be truthy2449 when checking release_evidence_test_artifacts only for Global license2450 allowed by Global License2451 returns true2452 not allowed by Global License2453 returns false2454 report_approver_rules2455 checking report_approver_rules availability both on Global and Namespace license2456 allowed by Plan License AND Global License2457 returns true2458 when feature is disabled by a feature flag2459 returns false2460 not allowed by Plan License but project and namespace are public2461 returns true2462 not allowed by Plan License2463 returns false2464 not allowed by Global License2465 returns false2466 with promo feature flag2467 is expected to be truthy2468 when checking report_approver_rules only for Global license2469 allowed by Global License2470 returns true2471 not allowed by Global License2472 returns false2473 requirements2474 checking requirements availability both on Global and Namespace license2475 allowed by Plan License AND Global License2476 returns true2477 when feature is disabled by a feature flag2478 returns false2479 not allowed by Plan License but project and namespace are public2480 returns true2481 not allowed by Plan License2482 returns false2483 not allowed by Global License2484 returns false2485 with promo feature flag2486 is expected to be truthy2487 when checking requirements only for Global license2488 allowed by Global License2489 returns true2490 not allowed by Global License2491 returns false2492 sast2493 checking sast availability both on Global and Namespace license2494 allowed by Plan License AND Global License2495 returns true2496 when feature is disabled by a feature flag2497 returns false2498 not allowed by Plan License but project and namespace are public2499 returns true2500 not allowed by Plan License2501 returns false2502 not allowed by Global License2503 returns false2504 with promo feature flag2505 is expected to be truthy2506 when checking sast only for Global license2507 allowed by Global License2508 returns true2509 not allowed by Global License2510 returns false2511 secret_detection2512 checking secret_detection availability both on Global and Namespace license2513 allowed by Plan License AND Global License2514 returns true2515 when feature is disabled by a feature flag2516 returns false2517 not allowed by Plan License but project and namespace are public2518 returns true2519 not allowed by Plan License2520 returns false2521 not allowed by Global License2522 returns false2523 with promo feature flag2524 is expected to be truthy2525 when checking secret_detection only for Global license2526 allowed by Global License2527 returns true2528 not allowed by Global License2529 returns false2530 security_dashboard2531 checking security_dashboard availability both on Global and Namespace license2532 allowed by Plan License AND Global License2533 returns true2534 when feature is disabled by a feature flag2535 returns false2536 not allowed by Plan License but project and namespace are public2537 returns true2538 not allowed by Plan License2539 returns false2540 not allowed by Global License2541 returns false2542 with promo feature flag2543 is expected to be truthy2544 when checking security_dashboard only for Global license2545 allowed by Global License2546 returns true2547 not allowed by Global License2548 returns false2549 security_on_demand_scans2550 checking security_on_demand_scans availability both on Global and Namespace license2551 allowed by Plan License AND Global License2552 returns true2553 when feature is disabled by a feature flag2554 returns false2555 not allowed by Plan License but project and namespace are public2556 returns true2557 not allowed by Plan License2558 returns false2559 not allowed by Global License2560 returns false2561 with promo feature flag2562 is expected to be truthy2563 when checking security_on_demand_scans only for Global license2564 allowed by Global License2565 returns true2566 not allowed by Global License2567 returns false2568 status_page2569 checking status_page availability both on Global and Namespace license2570 allowed by Plan License AND Global License2571 returns true2572 when feature is disabled by a feature flag2573 returns false2574 not allowed by Plan License but project and namespace are public2575 returns true2576 not allowed by Plan License2577 returns false2578 not allowed by Global License2579 returns false2580 with promo feature flag2581 is expected to be truthy2582 when checking status_page only for Global license2583 allowed by Global License2584 returns true2585 not allowed by Global License2586 returns false2587 subepics2588 checking subepics availability both on Global and Namespace license2589 allowed by Plan License AND Global License2590 returns true2591 when feature is disabled by a feature flag2592 returns false2593 not allowed by Plan License but project and namespace are public2594 returns true2595 not allowed by Plan License2596 returns false2597 not allowed by Global License2598 returns false2599 with promo feature flag2600 is expected to be truthy2601 when checking subepics only for Global license2602 allowed by Global License2603 returns true2604 not allowed by Global License2605 returns false2606 threat_monitoring2607 checking threat_monitoring availability both on Global and Namespace license2608 allowed by Plan License AND Global License2609 returns true2610 when feature is disabled by a feature flag2611 returns false2612 not allowed by Plan License but project and namespace are public2613 returns true2614 not allowed by Plan License2615 returns false2616 not allowed by Global License2617 returns false2618 with promo feature flag2619 is expected to be truthy2620 when checking threat_monitoring only for Global license2621 allowed by Global License2622 returns true2623 not allowed by Global License2624 returns false2625 tracing2626 checking tracing availability both on Global and Namespace license2627 allowed by Plan License AND Global License2628 returns true2629 when feature is disabled by a feature flag2630 returns false2631 not allowed by Plan License but project and namespace are public2632 returns true2633 not allowed by Plan License2634 returns false2635 not allowed by Global License2636 returns false2637 with promo feature flag2638 is expected to be truthy2639 when checking tracing only for Global license2640 allowed by Global License2641 returns true2642 not allowed by Global License2643 returns false2644 when feature symbol is not included on Namespace features code2645 checks availability of licensed feature2646 #fetch_mirror2647 import_url: "http://foo:bar@example.com", auth_method: "password", expected: "http://foo:bar@example.com"2648 is expected to receive fetch_upstream("http://foo:bar@example.com", {:forced=>false}) 1 time2649 import_url: "ssh://foo:bar@example.com", auth_method: "password", expected: "ssh://foo:bar@example.com"2650 is expected to receive fetch_upstream("ssh://foo:bar@example.com", {:forced=>false}) 1 time2651 import_url: "ssh://foo:bar@example.com", auth_method: "ssh_public_key", expected: "ssh://foo@example.com"2652 is expected to receive fetch_upstream("ssh://foo@example.com", {:forced=>false}) 1 time2653 updating import_url2654 removes previous remote2655 #any_runners_limit2656 for shared runners enabled2657 has a shared runner2658 checks the presence of shared runner2659 with used pipeline minutes2660 does not have a shared runner2661 #shared_runners_available?2662 with used pipeline minutes2663 shared runners are not available2664 #root_namespace2665 when namespace has parent group2666 returns root ancestor2667 when namespace is root ancestor2668 returns current namespace2669 #shared_runners_limit_namespace2670 returns root namespace2671 #shared_runners_minutes_limit_enabled?2672 with shared runners enabled2673 for public project2674 is expected to be truthy2675 for internal project2676 is expected to be truthy2677 for private project2678 is expected to be truthy2679 without shared runners2680 is expected to be falsey2681 #approvals_before_merge2682 license_value: true, db_value: 5, expected: 52683 is expected to eq 52684 license_value: true, db_value: 0, expected: 02685 is expected to eq 02686 license_value: false, db_value: 5, expected: 02687 is expected to eq 02688 license_value: false, db_value: 0, expected: 02689 is expected to eq 02690 #reset_approvals_on_push?2691 license_value: true, db_value: true, expected: true2692 is expected to eq true2693 license_value: true, db_value: false, expected: false2694 is expected to eq false2695 license_value: false, db_value: true, expected: false2696 is expected to eq false2697 license_value: false, db_value: false, expected: false2698 is expected to eq false2699 #approvals_before_merge2700 license_value: true, db_value: 5, expected: 52701 is expected to eq 52702 license_value: true, db_value: 0, expected: 02703 is expected to eq 02704 license_value: false, db_value: 5, expected: 02705 is expected to eq 02706 license_value: false, db_value: 0, expected: 02707 is expected to eq 02708 #visible_user_defined_rules2709 returns all approval rules2710 when multiple approval rules is not available2711 returns the first approval rule2712 #visible_user_defined_inapplicable_rules2713 when multiple approval rules is available2714 when rules are scoped2715 returns rules that are not applicable to target_branch2716 when rules are not scoped2717 returns empty array2718 when multiple approval rules is not available2719 returns empty array2720 #min_fallback_approvals2721 returns the maximum requirement2722 returns the first rule requirement if there is a rule2723 #merge_requests_require_code_owner_approval?2724 feature_available: true, feature_enabled: true, approval_required: true2725 requires code owner approval when needed2726 feature_available: false, feature_enabled: true, approval_required: false2727 requires code owner approval when needed2728 feature_available: true, feature_enabled: false, approval_required: false2729 requires code owner approval when needed2730 #branch_requires_code_owner_approval?2731 when feature is enabled2732 returns true when code owner approval is required2733 returns false when code owner approval is not required2734 when feature is not enabled2735 returns true when code owner approval is required2736 returns false when code owner approval is not required2737 #disabled_services2738 license_feature: :jenkins_integration, disabled_services: ["jenkins"]2739 when feature is available2740 is expected not to include "jenkins"2741 when feature is unavailable2742 is expected to include "jenkins"2743 license_feature: :github_project_service_integration, disabled_services: ["github"]2744 when feature is available2745 is expected not to include "github"2746 when feature is unavailable2747 is expected to include "github"2748 #pull_mirror_available?2749 when mirror global setting is enabled2750 returns true2751 when mirror global setting is disabled2752 returns true when overridden2753 returns false when not overridden2754 #username_only_import_url2755 import_url: "", username: "foo", expected_import_url: ""2756 is expected to eq ""2757 import_url: "", username: "", expected_import_url: ""2758 is expected to eq ""2759 import_url: "", username: nil, expected_import_url: ""2760 is expected to eq ""2761 import_url: nil, username: "foo", expected_import_url: nil2762 is expected to eq nil2763 import_url: nil, username: "", expected_import_url: nil2764 is expected to eq nil2765 import_url: nil, username: nil, expected_import_url: nil2766 is expected to eq nil2767 import_url: "http://example.com", username: "foo", expected_import_url: "http://foo@example.com"2768 is expected to eq "http://foo@example.com"2769 import_url: "http://example.com", username: "", expected_import_url: "http://example.com"2770 is expected to eq "http://example.com"2771 import_url: "http://example.com", username: nil, expected_import_url: "http://example.com"2772 is expected to eq "http://example.com"2773 #username_only_import_url=2774 sets the import url and username2775 does not unset the password2776 clears the username if passed the empty string2777 #with_slack_application_disabled2778 returns projects where Slack application is disabled2779 #licensed_features2780 when the namespace should be checked2781 when bronze2782 filters for bronze features2783 when silver2784 filters for silver features2785 when gold2786 filters for gold features2787 when free plan2788 filters out paid features2789 when public project and namespace2790 includes all features in global license2791 when namespace should not be checked2792 includes all features in global license2793 when there is no license2794 is expected to be empty2795 #find_path_lock2796 returns path_lock2797 returns nil2798 #any_path_locks?2799 returns false when there are no path locks2800 returns a cached true when there are path locks2801 #latest_pipeline_with_security_reports2802 when all pipelines are used2803 when legacy reports are used2804 returns the latest pipeline with security reports2805 when new reports are used2806 returns the latest pipeline with security reports2807 when legacy used2808 prefers the new reports2809 when only successful pipelines are used2810 when legacy reports are used2811 returns the latest succesful pipeline with security reports2812 when new reports are used2813 returns the latest successful pipeline with security reports2814 when legacy used2815 prefers the new reports2816 #latest_pipeline_with_reports2817 when reports are found2818 returns the latest pipeline with reports of right type2819 when reports are not found2820 returns nothing2821 #protected_environment_by_name2822 when Protected Environments feature is not available on the project2823 is expected to be nil2824 when Protected Environments feature is available on the project2825 when the project environment does not exists2826 is expected to be nil2827 when the project environment exists2828 is expected to eq #<ProtectedEnvironment id: 1, project_id: 156, created_at: "2020-08-29 16:34:55", updated_at: "2020-08-29 16:34:55", name: "production">2829 caches environment name2830 #protected_environment_accessible_to?2831 when Protected Environments feature is not available on the project2832 is expected to be truthy2833 when Protected Environments feature is available on the project2834 when project does not have protected environments2835 is expected to be truthy2836 when project has protected environments2837 when user has the right access2838 is expected to be truthy2839 when user does not have the right access2840 is expected to be falsy2841 #after_import2842 Geo repository update events2843 calls Geo::RepositoryUpdatedService when running on a Geo primary node2844 does not call Geo::RepositoryUpdatedService when not running on a Geo primary node2845 elasticsearch indexing2846 elasticsearch indexing disabled for this project2847 does not index the wiki repository2848 elasticsearch indexing enabled for this project2849 schedules a full index of the wiki repository2850 when project is forked2851 does not index the wiki repository2852 #lfs_http_url_to_repo2853 with a Geo setup that is a primary2854 for an upload operation2855 returns the project HTTP URL for the primary2856 with a Geo setup that is a secondary2857 and has a primary2858 for an upload operation2859 returns the project HTTP URL for the primary2860 for a download operation2861 returns the project HTTP URL for the secondary2862 without a primary2863 returns the project HTTP URL for the secondary2864 without a Geo setup2865 returns the project HTTP URL for the main node2866 #add_import_job2867 when import_type is gitlab_custom_project_template2868 does not create import job2869 when mirror true on a jira imported project2870 when jira import is in progress2871 does trigger mirror update2872 #gitlab_custom_project_template_import?2873 when licensed2874 returns true2875 when unlicensed2876 returns false2877 #update_root_ref2878 updates the default branch when HEAD has changed2879 always updates the default branch even when HEAD does not change2880 does not update the default branch when HEAD does not exist2881 #feature_flags_client_token2882 when there is no access token2883 creates a new one2884 when there is access token2885 provides an existing one2886 #has_pool_repository?2887 returns false when there is no pool repository2888 returns true when there is a pool repository2889 #link_pool_repository2890 logs geo event2891 #object_pool_missing?2892 returns true when object pool is missing2893 returns false when pool repository doesnt't exist2894 returns false when object pool exists2895 #insights_config2896 when project has no Insights config file2897 returns the project default config2898 when the project is inside a group2899 when the group has no Insights config2900 returns the group default config2901 when the group has an Insights config from another project2902 with a valid config file2903 returns the group config data from the other project2904 when the project is inside a nested group2905 returns the project default config2906 with an invalid config file2907 returns nil2908 when project has an Insights config file2909 with a valid config file2910 returns the insights config data2911 when the project is inside a group having another config2912 returns the project insights config data2913 with an invalid config file2914 returns nil2915 when the project is inside a group having another config2916 returns nil2917 #kerberos_url_to_repo2918 returns valid kerberos url for this repo2919 #repository_size_checker2920 #current_size2921 returns the total repository and lfs size2922 #limit2923 returns the value set in the namespace when available2924 returns the value set locally when available2925 #enabled?2926 returns true when not equal to zero2927 returns false when equals to zero2928 when repository_size_limit is configured2929 when license feature enabled2930 is enabled2931 when license feature disabled2932 is disabled2933 #repository_size_limit column2934 support values up to 8 exabytes2935 handling import URL2936 when project is a mirror2937 returns the full URL2938 #add_import_job2939 forked2940 without mirror2941 returns nil2942 with mirror2943 schedules RepositoryUpdateMirrorWorker2944 .where_full_path_in2945 without any paths2946 returns an empty relation2947 without any valid paths2948 returns an empty relation2949 with valid paths2950 returns the projects matching the paths2951 returns projects regardless of the casing of paths2952 #approver_group_ids=2953 create approver_groups2954 #create_import_state2955 is called after save2956 #allowed_to_share_with_group?2957 for group related project2958 with lock_memberships_to_ldap application setting enabled2959 is expected not to be allowed to share with group2960 personal project2961 with lock_memberships_to_ldap application setting enabled2962 is expected to be allowed to share with group2963 #ancestor_marked_for_deletion2964 delayed deletion feature is not available2965 the parent namespace has been marked for deletion2966 returns nil2967 delayed deletion feature is available2968 the parent namespace has been marked for deletion2969 returns the parent namespace2970 project or its parent group has not been marked for deletion2971 returns nil2972 ordering2973 returns the first group that is marked for deletion, up its ancestry chain2974 #adjourned_deletion?2975 licensed?: true, feature_enabled_on_group?: true, adjourned_period: 0, result: false2976 is expected to equal false2977 licensed?: true, feature_enabled_on_group?: true, adjourned_period: 1, result: true2978 is expected to equal true2979 licensed?: true, feature_enabled_on_group?: false, adjourned_period: 0, result: false2980 is expected to equal false2981 licensed?: true, feature_enabled_on_group?: false, adjourned_period: 1, result: false2982 is expected to equal false2983 licensed?: false, feature_enabled_on_group?: true, adjourned_period: 0, result: false2984 is expected to equal false2985 licensed?: false, feature_enabled_on_group?: true, adjourned_period: 1, result: false2986 is expected to equal false2987 licensed?: false, feature_enabled_on_group?: false, adjourned_period: 0, result: false2988 is expected to equal false2989 licensed?: false, feature_enabled_on_group?: false, adjourned_period: 1, result: false2990 is expected to equal false2991 when project belongs to user namespace2992 deletes immediately2993 caculate template repositories2994 counts instance level templates2995 counts group level templates2996 #license_compliance2997 is expected to be an instance of SCA::LicenseCompliance2998 #template_source?2999 when project is not template source3000 returns false3001 instance-level custom project templates3002 returns true3003 group-level custom project templates3004 returns true3005 #jira_subscription_exists?3006 jira connect subscription exists3007 is expected to eq false3008 dev panel integration is available3009 is expected to eq true3010 #remove_import_data3011 when mirror3012 does not remove import data3013Search::SnippetService3014 behaves like EE search service shared examples3015 #use_elasticsearch?3016 delegates to Gitlab::CurrentSettings.search_using_elasticsearch?3017 when requesting basic_search3018 returns false3019 #execute3020 returns an Elastic result object when elasticsearch is enabled3021 returns an ordinary result object when elasticsearch is disabled3022 advanced syntax queries for all scopes3023 with query "display bug" and scope snippet_titles3024 allows advanced query3025 with query bug -display and scope snippet_titles3026 allows advanced query3027 with query bug display | sound and scope snippet_titles3028 allows advanced query3029 with query bug | (display +sound) and scope snippet_titles3030 allows advanced query3031 with query bug find_by_* and scope snippet_titles3032 allows advanced query3033 with query argument \-last and scope snippet_titles3034 allows advanced query3035 #execute3036 visibility3037 project snippet3038 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 13039 respects visibility3040 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 13041 respects visibility3042 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 13043 respects visibility3044 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 13045 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)3046 snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 13047 respects visibility3048 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 13049 respects visibility3050 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 13051 respects visibility3052 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 13053 respects visibility3054 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 03055 respects visibility3056 snippet_level: :public, project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 03057 respects visibility3058 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :admin, expected_count: 13059 respects visibility3060 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 03061 respects visibility3062 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 03063 respects visibility3064 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 03065 respects visibility3066 snippet_level: :public, project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 03067 respects visibility3068 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 13069 respects visibility3070 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 13071 respects visibility3072 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 13073 respects visibility3074 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 13075 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)3076 snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 03077 respects visibility3078 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 13079 respects visibility3080 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 13081 respects visibility3082 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 13083 respects visibility3084 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 03085 respects visibility3086 snippet_level: :public, project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 03087 respects visibility3088 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :admin, expected_count: 13089 respects visibility3090 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 03091 respects visibility3092 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 03093 respects visibility3094 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 03095 respects visibility3096 snippet_level: :public, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 03097 respects visibility3098 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 13099 respects visibility3100 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 13101 respects visibility3102 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 13103 respects visibility3104 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 03105 respects visibility3106 snippet_level: :public, project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 03107 respects visibility3108 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 03109 respects visibility3110 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 03111 respects visibility3112 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 03113 respects visibility3114 snippet_level: :public, project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 03115 respects visibility3116 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 13117 respects visibility3118 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 13119 respects visibility3120 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 13121 respects visibility3122 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 13123 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)3124 snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 03125 respects visibility3126 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 13127 respects visibility3128 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 13129 respects visibility3130 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 13131 respects visibility3132 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 03133 respects visibility3134 snippet_level: :internal, project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 03135 respects visibility3136 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :admin, expected_count: 13137 respects visibility3138 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 03139 respects visibility3140 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 03141 respects visibility3142 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 03143 respects visibility3144 snippet_level: :internal, project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 03145 respects visibility3146 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 13147 respects visibility3148 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 13149 respects visibility3150 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 13151 respects visibility3152 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 13153 respects visibility (PENDING: https://gitlab.com/gitlab-org/gitlab/issues/32645)3154 snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 03155 respects visibility3156 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 13157 respects visibility3158 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 13159 respects visibility3160 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 13161 respects visibility3162 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 03163 respects visibility3164 snippet_level: :internal, project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 03165 respects visibility3166 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :admin, expected_count: 13167 respects visibility3168 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 03169 respects visibility3170 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 03171 respects visibility3172 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 03173 respects visibility3174 snippet_level: :internal, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 03175 respects visibility3176 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 13177 respects visibility3178 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 13179 respects visibility3180 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 13181 respects visibility3182 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 03183 respects visibility3184 snippet_level: :internal, project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 03185 respects visibility3186 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :admin, expected_count: 13187 respects visibility3188 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 03189 respects visibility3190 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 03191 respects visibility3192 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 03193 respects visibility3194 snippet_level: :internal, project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 03195 respects visibility3196 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :admin, expected_count: 13197 respects visibility3198 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :reporter, expected_count: 13199 respects visibility3200 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :guest, expected_count: 13201 respects visibility3202 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 03203 respects visibility3204 snippet_level: :private, project_level: :public, feature_access_level: :enabled, membership: :anonymous, expected_count: 03205 respects visibility3206 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :admin, expected_count: 13207 respects visibility3208 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :reporter, expected_count: 13209 respects visibility3210 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :guest, expected_count: 13211 respects visibility3212 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :non_member, expected_count: 03213 respects visibility3214 snippet_level: :private, project_level: :public, feature_access_level: :private, membership: :anonymous, expected_count: 03215 respects visibility3216 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :admin, expected_count: 13217 respects visibility3218 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :reporter, expected_count: 03219 respects visibility3220 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :guest, expected_count: 03221 respects visibility3222 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :non_member, expected_count: 03223 respects visibility3224 snippet_level: :private, project_level: :public, feature_access_level: :disabled, membership: :anonymous, expected_count: 03225 respects visibility3226 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :admin, expected_count: 13227 respects visibility3228 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :reporter, expected_count: 13229 respects visibility3230 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :guest, expected_count: 13231 respects visibility3232 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 03233 respects visibility3234 snippet_level: :private, project_level: :internal, feature_access_level: :enabled, membership: :anonymous, expected_count: 03235 respects visibility3236 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :admin, expected_count: 13237 respects visibility3238 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :reporter, expected_count: 13239 respects visibility3240 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :guest, expected_count: 13241 respects visibility3242 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :non_member, expected_count: 03243 respects visibility3244 snippet_level: :private, project_level: :internal, feature_access_level: :private, membership: :anonymous, expected_count: 03245 respects visibility3246 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :admin, expected_count: 13247 respects visibility3248 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :reporter, expected_count: 03249 respects visibility3250 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :guest, expected_count: 03251 respects visibility3252 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :non_member, expected_count: 03253 respects visibility3254 snippet_level: :private, project_level: :internal, feature_access_level: :disabled, membership: :anonymous, expected_count: 03255 respects visibility3256 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :admin, expected_count: 13257 respects visibility3258 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :reporter, expected_count: 13259 respects visibility3260 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :guest, expected_count: 13261 respects visibility3262 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :non_member, expected_count: 03263 respects visibility3264 snippet_level: :private, project_level: :private, feature_access_level: :private, membership: :anonymous, expected_count: 03265 respects visibility3266 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :admin, expected_count: 13267 respects visibility3268 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :reporter, expected_count: 03269 respects visibility3270 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :guest, expected_count: 03271 respects visibility3272 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :non_member, expected_count: 03273 respects visibility3274 snippet_level: :private, project_level: :private, feature_access_level: :disabled, membership: :anonymous, expected_count: 03275 respects visibility3276 personal snippet3277 snippet_level: :public, membership: :admin, expected_count: 13278 respects visibility3279 snippet_level: :public, membership: :author, expected_count: 13280 respects visibility3281 snippet_level: :public, membership: :non_member, expected_count: 13282 respects visibility3283 snippet_level: :public, membership: :anonymous, expected_count: 13284 respects visibility3285 snippet_level: :internal, membership: :admin, expected_count: 13286 respects visibility3287 snippet_level: :internal, membership: :author, expected_count: 13288 respects visibility3289 snippet_level: :internal, membership: :non_member, expected_count: 13290 respects visibility3291 snippet_level: :internal, membership: :anonymous, expected_count: 03292 respects visibility3293 snippet_level: :private, membership: :admin, expected_count: 13294 respects visibility3295 snippet_level: :private, membership: :author, expected_count: 13296 respects visibility3297 snippet_level: :private, membership: :non_member, expected_count: 03298 respects visibility3299 snippet_level: :private, membership: :anonymous, expected_count: 03300 respects visibility3301JobEntity3302 #playable?3303 behaves like protected environments access3304 when Protected Environments feature is not available in the project3305 access_level: :guest, admin_mode: nil, result: false3306 is expected to eq false3307 access_level: :reporter, admin_mode: nil, result: false3308 is expected to eq false3309 access_level: :developer, admin_mode: nil, result: true3310 is expected to eq true3311 access_level: :maintainer, admin_mode: nil, result: true3312 is expected to eq true3313 access_level: :admin, admin_mode: false, result: false3314 is expected to eq false3315 access_level: :admin, admin_mode: true, result: true3316 is expected to eq true3317 when Protected Environments feature is available in the project3318 when environment is protected3319 when user does not have access to the environment3320 access_level: :guest, admin_mode: nil, result: false3321 is expected to eq false3322 access_level: :reporter, admin_mode: nil, result: false3323 is expected to eq false3324 access_level: :developer, admin_mode: nil, result: false3325 is expected to eq false3326 access_level: :maintainer, admin_mode: nil, result: false3327 is expected to eq false3328 access_level: :admin, admin_mode: false, result: false3329 is expected to eq false3330 access_level: :admin, admin_mode: true, result: true3331 is expected to eq true3332 when user has access to the environment3333 access_level: :guest, admin_mode: nil, result: false3334 is expected to eq false3335 access_level: :reporter, admin_mode: nil, result: false3336 is expected to eq false3337 access_level: :developer, admin_mode: nil, result: true3338 is expected to eq true3339 access_level: :maintainer, admin_mode: nil, result: true3340 is expected to eq true3341 access_level: :admin, admin_mode: false, result: false3342 is expected to eq false3343 access_level: :admin, admin_mode: true, result: true3344 is expected to eq true3345 when environment is not protected3346 access_level: :guest, admin_mode: nil, result: false3347 is expected to eq false3348 access_level: :reporter, admin_mode: nil, result: false3349 is expected to eq false3350 access_level: :developer, admin_mode: nil, result: true3351 is expected to eq true3352 access_level: :maintainer, admin_mode: nil, result: true3353 is expected to eq true3354 access_level: :admin, admin_mode: false, result: false3355 is expected to eq false3356 access_level: :admin, admin_mode: true, result: true3357 is expected to eq true3358 #retryable?3359 behaves like protected environments access3360 when Protected Environments feature is not available in the project3361 access_level: :guest, admin_mode: nil, result: false3362 is expected to eq false3363 access_level: :reporter, admin_mode: nil, result: false3364 is expected to eq false3365 access_level: :developer, admin_mode: nil, result: true3366 is expected to eq true3367 access_level: :maintainer, admin_mode: nil, result: true3368 is expected to eq true3369 access_level: :admin, admin_mode: false, result: false3370 is expected to eq false3371 access_level: :admin, admin_mode: true, result: true3372 is expected to eq true3373 when Protected Environments feature is available in the project3374 when environment is protected3375 when user does not have access to the environment3376 access_level: :guest, admin_mode: nil, result: false3377 is expected to eq false3378 access_level: :reporter, admin_mode: nil, result: false3379 is expected to eq false3380 access_level: :developer, admin_mode: nil, result: false3381 is expected to eq false3382 access_level: :maintainer, admin_mode: nil, result: false3383 is expected to eq false3384 access_level: :admin, admin_mode: false, result: false3385 is expected to eq false3386 access_level: :admin, admin_mode: true, result: true3387 is expected to eq true3388 when user has access to the environment3389 access_level: :guest, admin_mode: nil, result: false3390 is expected to eq false3391 access_level: :reporter, admin_mode: nil, result: false3392 is expected to eq false3393 access_level: :developer, admin_mode: nil, result: true3394 is expected to eq true3395 access_level: :maintainer, admin_mode: nil, result: true3396 is expected to eq true3397 access_level: :admin, admin_mode: false, result: false3398 is expected to eq false3399 access_level: :admin, admin_mode: true, result: true3400 is expected to eq true3401 when environment is not protected3402 access_level: :guest, admin_mode: nil, result: false3403 is expected to eq false3404 access_level: :reporter, admin_mode: nil, result: false3405 is expected to eq false3406 access_level: :developer, admin_mode: nil, result: true3407 is expected to eq true3408 access_level: :maintainer, admin_mode: nil, result: true3409 is expected to eq true3410 access_level: :admin, admin_mode: false, result: false3411 is expected to eq false3412 access_level: :admin, admin_mode: true, result: true3413 is expected to eq true3414MergeTrain3415 is expected to belong to merge_request required:3416 is expected to belong to user required:3417 is expected to belong to pipeline required:3418 .active3419 returns only active merge trains3420 .complete3421 returns only merged merge trains3422 .for_target3423 when target merge train 1's project3424 returns merge train 1 only3425 when target merge train 2's project3426 returns merge train 2 only3427 .by_id3428 returns merge trains by id ASC3429 .all_active_mrs_in_train3430 returns the merge request3431 when the other merge request is on the merge train3432 returns the merge requests3433 when the merge request has already been merged3434 is expected to be empty3435 when the merge request is not on merge train3436 returns empty array3437 .first_in_train3438 returns the merge request3439 when the other merge request is on the merge train3440 returns the merge request3441 when the merge request has already been merged3442 is expected to be nil3443 when the merge request is not on merge train3444 returns empty array3445 .first_in_trains3446 returns only first merge requests per merge train3447 when first_on_master has already been merged3448 returns second on master as active MR3449 .first_in_train_from3450 when arguments is null3451 raises an error3452 when there are two merge requests on the same merge train3453 returns the first merge request on the merge train from the given ids3454 when the first merge request has already been merged3455 returns the first active merge request on the merge train from the given ids3456 when specifies merge request 2's id only3457 returns the first merge request on the merge train from the given ids3458 .last_complete_mr_in_train3459 when there is a merge request on train3460 when the merge request has already been merged3461 returns the merge request3462 when there is another merge request on train and it has been merged3463 returns the last merge request3464 when the merge request has not been merged yet3465 returns nothing3466 when there are no merge requests on train3467 returns nothing3468 .sha_exists_in_history?3469 when there is a merge request on train3470 when the merge request has already been merging3471 is expected to eq true3472 when the merge request has already been merged3473 is expected to eq true3474 when there is another merge request on train and it has been merged3475 is expected to eq true3476 when limit is 13477 is expected to eq false3478 when the merge request has not been merged yet3479 is expected to eq false3480 when there are no merge requests on train3481 is expected to eq false3482 .total_count_in_train3483 returns the merge request3484 when the other merge request is on the merge train3485 returns the merge request3486 when the merge request has already been merged3487 returns zero3488 when the merge request is not on merge train3489 returns empty array3490 #all_next3491 returns nil3492 when the other merge request is on the merge train3493 returns the next merge requests3494 #all_prev3495 when the merge request is at first on the train3496 returns nil3497 when the merge request is at last on the train3498 returns the previous merge requests3499 when the previous merge request has already been merged3500 returns empty array3501 #next3502 when the merge request is at last on the train3503 returns nil3504 when the other merge request is on the merge train3505 returns the next merge request3506 #prev3507 when the merge request is at first on the train3508 returns nil3509 when the merge request is at last on the train3510 returns the next merge request3511 #first_in_train?3512 is expected to be truthy3513 when the other merge request is on the merge train3514 is expected to be falsy3515 #follower_in_train?3516 is expected to be falsy3517 when the other merge request is on the merge train3518 is expected to be truthy3519 #index3520 is expected to eq 03521 when the merge train is at the second queue3522 is expected to eq 13523 status transition3524 when status is idle3525 and transits to fresh3526 refreshes the state and set a pipeline3527 and transits to merged3528 does not allow the transition3529 and transits to stale3530 does not allow the transition3531 when status is fresh3532 and transits to merged3533 does not allow the transition3534 and transits to stale3535 refreshes asynchronously3536 when status is merging3537 and transits to merged3538 persists duration and merged_at3539 cleans up train ref3540 when status is merged3541 and transits to merged3542 does not allow the transition3543 #destroy3544 when merge train has a pipeline3545 cancels the jobs in the pipeline3546 #cleanup_ref3547 executes cleanup_refs for merge request3548 #active?3549 when status is idle3550 is expected to eq true3551 when status is merged3552 is expected to eq false3553User3554 user creation3555 with defaults3556 applies defaults to user3557 delegations3558 is expected to delegate #shared_runners_minutes_limit to the #namespace object3559 is expected to delegate #shared_runners_minutes_limit= to the #namespace object passing arguments [133]3560 associations3561 is expected to have many vulnerability_feedback3562 is expected to have many path_locks dependent => destroy3563 is expected to have many users_security_dashboard_projects3564 is expected to have many security_dashboard_projects3565 is expected to have many board_preferences3566 nested attributes3567 is expected to respond to #namespace_attributes=3568 validations3569 does not allow a user to be both an auditor and an admin3570 scopes3571 .non_ldap3572 retuns non-ldap user3573 .excluding_guests3574 exclude users with a Guest role in a Project/Group3575 with_invalid_expires_at_tokens3576 only includes users with invalid tokens3577 .managed_by3578 returns users managed by the specified group3579 .find_by_smartcard_identity3580 returns the user3581 the GitLab_Auditor_User add-on3582 creating an auditor user3583 does not allow creating an auditor user if the addon isn't enabled3584 does not allow creating an auditor user if no license is present3585 allows creating an auditor user if the addon is enabled3586 allows creating a regular user if the addon isn't enabled3587 #auditor?3588 returns true for an auditor user if the addon is enabled3589 returns false for an auditor user if the addon is not enabled3590 returns false for an auditor user if a license is not present3591 returns false for a non-auditor user even if the addon is present3592 #access_level=3593 does not set 'auditor' for an invalid access level3594 does not set 'auditor' for admin level3595 assigns the 'auditor' access level3596 assigns the 'auditor' access level3597 clears the 'admin' access level when a user is made an auditor3598 clears the 'auditor' access level when a user is made an admin3599 doesn't clear existing 'auditor' access levels when an invalid access level is passed in3600 #can_read_all_resources?3601 returns true for auditor user3602 #forget_me!3603 clears remember_created_at3604 does not clear remember_created_at when in a GitLab read-only instance3605 #remember_me!3606 updates remember_created_at3607 does not update remember_created_at when in a Geo read-only instance3608 #email_opted_in_source3609 for GitLab.com3610 returns GitLab.com3611 for nil source id3612 returns blank3613 for non-existent source id3614 returns blank3615 #available_custom_project_templates3616 returns an empty relation if group is not set3617 when group with custom project templates is set3618 returns an empty relation if group has no available project templates3619 when group has custom project templates3620 returns public projects3621 returns internal projects3622 allows to search available project templates by name3623 filters by project ID3624 does not return inaccessible projects3625 returns private projects if user3626 is a member of the project3627 is a member of the group3628 #available_subgroups_with_custom_project_templates3629 without Groups with custom project templates3630 returns an empty collection3631 with Groups with custom project templates3632 when the access level of the user is below the required one3633 returns an empty collection3634 when the access level of the user is the correct3635 when a Group ID is passed3636 returns a single Group3637 when a Group ID is not passed3638 returns all available Groups3639 excludes Groups with the configured setting but without projects3640 when namespace plan is checked3641 returns groups on gold or silver plans3642 #roadmap_layout3643 not set3644 returns default value3645 set3646 returns set value3647 #group_sso?3648 is false without a saml_provider3649 with linked identity3650 without preloading3651 returns true3652 does not cause ActiveRecord to loop through identites3653 when identities and saml_providers pre-loaded3654 returns true3655 does not trigger additional database queries3656 .limit_to_saml_provider3657 returns all users when SAML provider is nil3658 returns only the users who have an identity that belongs to the given SAML provider3659 #group_managed_account?3660 when user has managing group linked3661 is expected to eq true3662 when user has no linked managing group3663 is expected to eq false3664 #managed_by?3665 when a normal user account3666 returns false3667 when a group managed account3668 returns true with group managed account owner3669 returns false with a regular user account3670 #password_required?3671 when user has managing group linked3672 does not require password to be present3673 #allow_password_authentication_for_web?3674 when user has managing group linked3675 is false3676 #allow_password_authentication_for_git?3677 when user has managing group linked3678 is false3679 #using_license_seat?3680 when user is inactive3681 returns false3682 when user is active3683 when user is internal3684 internal_user_type: "support_bot"3685 when user has internal user type3686 returns false3687 internal_user_type: "alert_bot"3688 when user has internal user type3689 returns false3690 internal_user_type: "visual_review_bot"3691 when user has internal user type3692 returns false3693 internal_user_type: "ghost"3694 when user has internal user type3695 returns false3696 internal_user_type: "migration_bot"3697 when user has internal user type3698 returns false3699 when user is not internal3700 when license is nil (core/free/default)3701 returns false if license is nil (core/free/default)3702 user is guest3703 returns false if license is ultimate3704 returns true if license is not ultimate and not nil3705 user is admin without projects3706 returns false if license is ultimate3707 returns true if license is not ultimate and not nil3708 #using_gitlab_com_seat?3709 when Gitlab.com? is false3710 is expected to be falsey3711 when user is not active3712 is expected to be falsey3713 when Gitlab.com? is true3714 when namespace is nil3715 is expected to be falsey3716 when namespace is on a free plan3717 is expected to be falsey3718 when namespace is on a gold plan3719 user is a guest3720 is expected to be falsey3721 user is not a guest3722 is expected to be truthy3723 when user is within project3724 is expected to be truthy3725 when user is within subgroup3726 is expected to be truthy3727 when namespace is on a plan that is not free or gold3728 user is a guest3729 is expected to be truthy3730 user is not a guest3731 is expected to be truthy3732 .username_suggestion3733 namespace with input name does not exist3734 returns the parameterized name3735 namespace with input name exists3736 returns the parameterized name with a suffix3737 namespace with input name and suffix exists3738 loops through parameterized name with suffixes, until it finds one that does not exist3739 when max attempts for suggestion is exceeded3740 returns an empty response3741 #ab_feature_enabled?3742 when not on Gitlab.com3743 returns false3744 when on Gitlab.com3745 when on a secondary Geo3746 returns false3747 when not on a secondary Geo3748 for any feature except discover_security3749 raises runtime error3750 when discover_security feature flag is disabled3751 returns false3752 when discover_security feature flag is enabled3753 returns false when in control group3754 returns true for experiment group3755 assigns to control or experiment group when feature_filter_type is nil3756 assigns to control or experiment group when feature_filter_type is zero3757 returns false for zero percentage3758 returns false when no percentage is provided3759 returns true when 100% control percentage is provided3760 returns false if flipper returns nil for non-existing feature3761 #manageable_groups_eligible_for_subscription3762 user with no groups3763 is expected to eq []3764 owner of a licensed group3765 is expected not to include #<Group id:963 @group97>3766 guest of a free group3767 is expected not to include #<Group id:967 @aa>3768 developer of a free group3769 is expected not to include #<Group id:967 @aa>3770 maintainer of a free group3771 is expected to include #<Group id:967 @aa>3772 owner of 2 free groups3773 is expected to eq [#<Group id:967 @aa>, #<Group id:965 @az>]3774 is expected not to include #<Group id:968 @aa/subgroup>3775 #manageable_groups_eligible_for_trial3776 user with no groups3777 is expected to eq []3778 owner of an already-trialed group3779 is expected not to include #<Group id:975 @omitted>3780 guest of a non-trialed group3781 is expected not to include #<Group id:973 @alpha>3782 developer of a non-trialed group3783 is expected not to include #<Group id:973 @alpha>3784 maintainer of a non-trialed group3785 is expected to include #<Group id:973 @alpha>3786 owner of 2 non-trialed groups3787 is expected to eq [#<Group id:973 @alpha>, #<Group id:971 @zeta>]3788 owner of a top-level group with a sub-group3789 is expected to eq [#<Group id:973 @alpha>]3790 #active_for_authentication?3791 based on user type3792 user_type: "service_user", expected_result: true3793 is expected to equal true3794 user_type: "visual_review_bot", expected_result: false3795 is expected to equal false3796 paid namespaces3797 #has_paid_namespace?3798 when the user has Reporter or higher on at least one paid group3799 returns true3800 when the user is only a Guest on paid groups3801 returns false3802 when the user is not a member of any groups with plans3803 returns false3804 #owns_paid_namespace?3805 when the user is an owner of at least one paid group3806 returns true3807 when the user is only a Maintainer on paid groups3808 returns false3809 when the user is not a member of any groups with plans3810 returns false3811 #gitlab_employee?3812 based on group membership3813 when user belongs to gitlab-com group3814 is_com: true, expected_result: true3815 is expected to equal true3816 is_com: false, expected_result: false3817 is expected to equal false3818 when user does not belongs to gitlab-com group3819 is_com: true, expected_result: false3820 is expected to equal false3821 is_com: false, expected_result: false3822 is expected to equal false3823 based on user type3824 when user is a bot3825 is expected to equal false3826 when user is ghost3827 is expected to equal false3828 when `:gitlab_employee_badge` feature flag is disabled3829 is expected to equal false3830 #security_dashboard3831 returns an instance of InstanceSecurityDashboard for the user3832 #owns_upgradeable_namespace?3833 returns false when there is no subscription for the personal namespace3834 returns false when the user has multiple groups and any group has gold3835 hosted_plan: :bronze_plan, result: true3836 returns the correct result for each plan on a personal namespace3837 returns the correct result for each plan on a group owned by the user3838 hosted_plan: :silver_plan, result: true3839 returns the correct result for each plan on a personal namespace3840 returns the correct result for each plan on a group owned by the user3841 hosted_plan: :gold_plan, result: false3842 returns the correct result for each plan on a personal namespace3843 returns the correct result for each plan on a group owned by the user3844 hosted_plan: :free_plan, result: false3845 returns the correct result for each plan on a personal namespace3846 returns the correct result for each plan on a group owned by the user3847 hosted_plan: :default_plan, result: false3848 returns the correct result for each plan on a personal namespace3849 returns the correct result for each plan on a group owned by the user3850MergeTrains::RefreshMergeRequestsService3851 #execute3852 when merge request 1 is passed3853 executes RefreshMergeRequestService to all the following merge requests3854 behaves like logging results3855 when ci_merge_train_logging is enabled3856 logs results3857 when ci_merge_train_logging is disabled3858 does not log results3859 when refresh service 1 returns error status3860 specifies require_recreate to refresh service 23861 behaves like logging results3862 when ci_merge_train_logging is enabled3863 logs results3864 when ci_merge_train_logging is disabled3865 does not log results3866 when refresh service 1 returns success status and did not create a pipeline3867 does not specify require_recreate to refresh service 23868 behaves like logging results3869 when ci_merge_train_logging is enabled3870 logs results3871 when ci_merge_train_logging is disabled3872 does not log results3873 when refresh service 1 returns success status and created a pipeline3874 specifies require_recreate to refresh service 23875 behaves like logging results3876 when ci_merge_train_logging is enabled3877 logs results3878 when ci_merge_train_logging is disabled3879 does not log results3880 when merge request 1 is not on a merge train3881 does not refresh3882 behaves like logging results3883 when ci_merge_train_logging is enabled3884 logs results3885 when ci_merge_train_logging is disabled3886 does not log results3887 when merge request 1 was on a merge train3888 does not refresh3889 behaves like logging results3890 when ci_merge_train_logging is enabled3891 logs results3892 when ci_merge_train_logging is disabled3893 does not log results3894 when the other thread has already been processing the merge train3895 does not refresh3896 enqueues the merge request id to BatchPopQueueing3897 behaves like logging results3898 when ci_merge_train_logging is enabled3899 logs results3900 when ci_merge_train_logging is disabled3901 does not log results3902 when merge request 2 is passed3903 executes RefreshMergeRequestService to all the following merge requests3904 behaves like logging results3905 when ci_merge_train_logging is enabled3906 logs results3907 when ci_merge_train_logging is disabled3908 does not log results3909 when merge request 1 was tried to be refreshed while the system is refreshing merge request 23910 refreshes the merge request 1 later with AutoMergeProcessWorker3911 behaves like logging results3912 when ci_merge_train_logging is enabled3913 logs results3914 when ci_merge_train_logging is disabled3915 does not log results3916 when merge request 1 has already been merged3917 does not refresh the merge request 13918 behaves like logging results3919 when ci_merge_train_logging is enabled3920 logs results3921 when ci_merge_train_logging is disabled3922 does not log results3923Epics::IssuePromoteService3924 #execute3925 when epics are not enabled3926 raises a permission error3927 when epics are enabled3928 when a user can not promote the issue3929 raises a permission error3930 when a user can promote the issue3931 when an issue does not belong to a group3932 raises an error3933 when promoting issue3934 creates a new epic with correct attributes3935 copies group labels assigned to the issue3936 creates a system note on the issue3937 creates a system note on the epic3938 closes the original issue3939 marks the old issue as promoted3940 when issue description has mentions and has notes with mentions3941 only saves user mentions with actual mentions3942 when issue description has an attachment3943 copies the description, rewriting the attachment3944 when an issue belongs to an epic3945 creates a new epic with correct attributes3946 when issue was already promoted3947 raises error3948 when issue has notes3949 copies all notes3950 copies note attachments3951Custom file template classes3952 Gitlab::Template::CustomDockerfileTemplate3953 .all3954 returns all valid templates3955 .find3956 finds a valid template3957 sets the category correctly (PENDING: Gitlab::Template::CustomDockerfileTemplate.find does not set category correctly)3958 does not find a template with the wrong extension3959 does not find a template in a subdirectory3960 Gitlab::Template::CustomGitignoreTemplate3961 .all3962 returns all valid templates3963 .find3964 finds a valid template3965 sets the category correctly (PENDING: Gitlab::Template::CustomGitignoreTemplate.find does not set category correctly)3966 does not find a template with the wrong extension3967 does not find a template in a subdirectory3968 Gitlab::Template::CustomGitlabCiYmlTemplate3969 .all3970 returns all valid templates3971 .find3972 finds a valid template3973 sets the category correctly (PENDING: Gitlab::Template::CustomGitlabCiYmlTemplate.find does not set category correctly)3974 does not find a template with the wrong extension3975 does not find a template in a subdirectory3976 Gitlab::Template::CustomLicenseTemplate3977 .all3978 returns all valid templates3979 .find3980 finds a valid template3981 sets the category correctly (PENDING: Gitlab::Template::CustomLicenseTemplate.find does not set category correctly)3982 does not find a template with the wrong extension3983 does not find a template in a subdirectory3984 Gitlab::Template::CustomMetricsDashboardYmlTemplate3985 .all3986 returns all valid templates3987 .find3988 finds a valid template3989 sets the category correctly (PENDING: Gitlab::Template::CustomMetricsDashboardYmlTemplate.find does not set category correctly)3990 does not find a template with the wrong extension3991 does not find a template in a subdirectory3992admin/application_settings/_elasticsearch_form3993 es indexing3994 indexing is enabled3995 hides index button when indexing is disabled3996 renders an enabled pause checkbox3997 indexing is disabled3998 shows index button when indexing is enabled3999 renders a disabled pause checkbox4000 when elasticsearch_aws_secret_access_key is not set4001 has field with "AWS Secret Access Key" label and no value4002 when elasticsearch_aws_secret_access_key is set4003 has field with "Enter new AWS Secret Access Key" label and no value4004 zero-downtime elasticsearch reindexing4005 without extended details4006 renders the task4007 with extended details4008 renders the task4009 with extended details, but without documents_count_target4010 renders the task4011 when there are elasticsearch indexed namespaces4012 shows the input4013 when there are too many elasticsearch indexed namespaces4014 hides the input4015 when there are elasticsearch indexed projects4016 shows the input4017 when there are too many elasticsearch indexed projects4018 hides the input4019Ci::Build4020 .license_scan4021 with old license_management artifact4022 is expected to eq "license_management"4023 with new license_scanning artifact4024 is expected to eq "license_scanning"4025 associations4026 is expected to have many security_scans4027 #shared_runners_minutes_limit_enabled?4028 behaves like depends on runner presence and type4029 for shared runner4030 when project#shared_runners_minutes_limit_enabled? is true4031 is expected to be truthy4032 when project#shared_runners_minutes_limit_enabled? is false4033 is expected to be falsey4034 with specific runner4035 is expected to be falsey4036 without runner4037 is expected to be falsey4038 updates pipeline minutes4039 for event success4040 for event drop4041 for event cancel4042 #stick_build_if_status_changed4043 sticks the build if the status changed4044 #variables4045 when environment specific variable is defined4046 when there is a plan for the group4047 GITLAB_FEATURES should include the features for that plan4048 variable CI_HAS_OPEN_REQUIREMENTS4049 is included with value 'true' if there are open requirements4050 is not included if there are no open requirements4051 #collect_security_reports!4052 when build has a security report4053 when there is a sast report4054 parses blobs and add the results to the report4055 adds the created date to the report4056 when there are multiple reports4057 parses blobs and adds the results to the reports4058 when there is a corrupted sast report4059 stores an error4060 when there is unsupported file type4061 stores an error4062 #collect_license_scanning_reports!4063 is expected to eq 04064 when build has a license scanning report4065 when there is a new type report4066 parses blobs and add the results to the report4067 when there is an old type report4068 parses blobs and add the results to the report4069 when there is a corrupted report4070 returns an empty report4071 when Feature flag is disabled for License Scanning reports parsing4072 does NOT parse license scanning report4073 when the license scanning feature is disabled4074 does NOT parse license scanning report4075 #collect_dependency_list_reports!4076 with available licensed feature4077 parses blobs and add the results to the report4078 with different report format4079 parses blobs and add the results to the report4080 with disabled licensed feature4081 does NOT parse dependency list report4082 #collect_licenses_for_dependency_list!4083 with available licensed feature4084 parses blobs and add found license4085 with unavailable licensed feature4086 does not add licenses4087 #collect_metrics_reports!4088 when there is a metrics report4089 when license has metrics_reports4090 parses blobs and add the results to the report4091 when license does not have metrics_reports4092 does not parse metrics report4093 #collect_requirements_reports!4094 when there is a requirements report4095 when requirements are available4096 parses blobs and adds the results to the report4097 when requirements are not available4098 does not parse requirements report4099 #retryable?4100 with pipeline for merged results4101 is expected to equal true4102 with pipeline for merge train4103 is expected to equal false4104 .license_scan4105 returns only license artifacts4106 ci_secrets_management_available?4107 when secrets management feature is available4108 is expected to equal true4109 when secrets management feature is not available4110 is expected to equal false4111 #runner_required_feature_names4112 when secrets management feature is available4113 when there are secrets defined4114 is expected to include :vault_secrets4115 when there are no secrets defined4116 is expected not to include :vault_secrets4117 when secrets management feature is not available4118 when there are secrets defined4119 is expected not to include :vault_secrets4120 when there are no secrets defined4121 is expected not to include :vault_secrets4122Ci::CreatePipelineService4123 with license4124 behaves like supported cross project artifacts definitions4125 persists pipeline4126 persists job4127 persists cross_dependencies4128 returns empty dependencies with non existing projects4129 behaves like broken artifacts definitions4130 persists pipeline4131 has errors4132 behaves like mixed artifacts definitions4133 persists pipeline4134 persists jobs4135 persists needs4136 persists cross_dependencies4137 returns dependencies4138 without license4139 behaves like supported cross project artifacts definitions4140 persists pipeline4141 persists job4142 persists cross_dependencies4143 returns empty dependencies with non existing projects4144 behaves like broken artifacts definitions4145 persists pipeline4146 has errors4147 behaves like mixed artifacts definitions4148 persists pipeline4149 persists jobs4150 persists needs4151 persists cross_dependencies4152 returns dependencies4153Projects::GroupLinks::CreateService#execute4154 audit events4155 when licensed4156 does not log audit event if operation fails4157 when operation succeeds4158 logs an audit event4159 logs the audit event info4160 when not licensed4161 does not log audit event4162 when project is in sso enforced group4163 when invited group is outside top group4164 does not add group to project4165 when invited group is in the top group4166 adds group to project4167 when project is deeper in the hierarchy and group is in the top group4168 adds group to project4169 when invited group is outside top group4170 does not add group to project4171 when project is forked from group with enforced SSO4172 when invited group is outside top group4173 does not add group to project4174 returns error status and message4175 when invited group is in the top group4176 adds group to project4177 when project is forked to group with enforced sso4178 when invited group is outside top group4179 does not add group to project4180 when invited group is in the top group4181 adds group to project4182EpicsFinder4183 #execute4184 when epics feature is disabled4185 raises an exception4186 when epics feature is enabled4187 without param4188 raises an error when group_id param is missing4189 when user can not read epics of a group4190 returns empty collection4191 with correct params4192 returns all epics that belong to the given group4193 does not execute more than 5 SQL queries4194 sorting4195 sorts correctly when supported sorting param provided4196 sorts by id when not supported sorting param provided4197 by created_at4198 returns all epics created before the given date4199 returns all epics created after the given date4200 returns all epics created within the given interval4201 by search4202 returns all epics that match the search4203 by user reaction emoji4204 returns epics reacted to by user4205 by author4206 returns all epics authored by the given user4207 by label4208 returns all epics with given label4209 by state4210 returns all epics with given state4211 when subgroups are supported4212 returns all epics that belong to the given group and its subgroups4213 does not execute more than 5 SQL queries4214 does not execute more than 6 SQL queries when checking namespace plans4215 hierarchy params4216 excludes ancestor groups and includes descendant groups by default4217 when include_descendant_groups is false4218 and include_ancestor_groups is false4219 is expected to contain exactly #<Epic id:19 group155/group157&1>4220 and include_ancestor_groups is true4221 is expected to contain exactly #<Epic id:19 group155/group157&1>, #<Epic id:14 group155&1>, #<Epic id:15 group155&2>, and #<Epic id:16 group155&3>4222 when include_descendant_groups is true4223 and include_ancestor_groups is false4224 is expected to contain exactly #<Epic id:19 group155/group157&1> and #<Epic id:20 group155/group157/group158&1>4225 and include_ancestor_groups is true4226 is expected to contain exactly #<Epic id:19 group155/group157&1>, #<Epic id:20 group155/group157/group158&1>, #<Epic id:14 group155&1>, #<Epic id:15 group155&2>, and #<Epic id:16 group155&3>4227 by timeframe4228 returns epics which start in the timeframe4229 returns epics which end in the timeframe4230 returns epics which start before and end after the timeframe4231 by parent4232 returns direct children of the parent4233 by confidential4234 returns only confidential epics when confidential is true4235 does not include confidential epics when confidential is false4236 by iids4237 returns the specified epics4238 does not return epics from the sub-group with the same iid4239 by milestone4240 with no hierarchy4241 returns empty result if the milestone is not present4242 behaves like filtered by milestone4243 returns expected epics4244 behaves like filtered by milestone4245 returns expected epics4246 with hierarchy4247 when include_descendant_groups is true4248 returns results with all milestones matching given title4249 behaves like filtered by milestone4250 returns expected epics4251 behaves like filtered by milestone4252 returns expected epics4253 when include_ancestor_groups is true4254 behaves like filtered by milestone4255 returns expected epics4256 behaves like filtered by milestone4257 returns expected epics4258 when include_descendant_groups is true4259 returns expected epics when filtering by group milestone4260 behaves like filtered by milestone4261 returns expected epics4262 when a project is restricted4263 does not return epic if user can not access project4264 does not return epics if user can not access project issues4265 when using iid starts with query4266 returns the expected epics if just the first two numbers are given4267 returns the expected epics if the exact id is given4268 is empty if the last number is given4269 fails if iid_starts_with contains a non-numeric string4270 fails if iid_starts_with contains a non-numeric string with line breaks4271 fails if iid_starts_with contains a string which contains a negative number4272 when using group cte for search4273 and two labels more search string are present4274 returns correct epics4275 with confidential epics4276 returns only public epics4277 when skip_visibility_check is true4278 returns all epics4279 when user is member of ancestor group4280 returns all nested epics4281 does not execute more than 5 SQL queries4282 does not check permission for subgroups because user inherits permission4283 when user is member of private subgroup4284 returns also confidential epics from this subgroup4285 does not execute more than 10 SQL queries4286 checks permission for each subgroup4287 when user is member of public subgroup4288 returns also confidential epics from this subgroup4289 with negated labels4290 returns all epics if no negated labels are present4291 returns all epics without negated label4292 when not_issuable_queries is disabled4293 returns epics that include negated params4294 with negated author4295 returns all epics if no negated author is present4296 returns all epics without given author4297 when not_issuable_queries is disabled4298 returns epics that include negated params4299 .valid_iid_query?4300 query: "foo", expected_result: false4301 is expected to eq false4302 query: "-1", expected_result: false4303 is expected to eq false4304 query: "1\nfoo", expected_result: false4305 is expected to eq false4306 query: "foo\n1", expected_result: false4307 is expected to eq false4308 query: "1", expected_result: true4309 is expected to eq true4310 #row_count4311 returns number of rows when epics are grouped4312 #count_by_state4313 returns correct counts4314 when using group cte for search4315 returns correct counts when search string is used4316Ci::RegisterJobService4317 #execute4318 checks database loadbalancing stickiness4319 result is valid if replica did caught-up4320 result is invalid if replica did not caught-up4321 shared runners minutes limit4322 when limit set at global level4323 and usage is below the limit4324 behaves like returns a build4325 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4326 and usage is above the limit4327 behaves like does not return a build4328 is expected to be nil4329 and project is public4330 and public projects cost factor is 0 (default)4331 behaves like returns a build4332 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4333 and public projects cost factor is > 04334 behaves like does not return a build4335 is expected to be nil4336 and extra shared runners minutes purchased4337 and usage is below the combined limit4338 behaves like returns a build4339 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4340 and usage is above the combined limit4341 behaves like does not return a build4342 is expected to be nil4343 when limit set at namespace level4344 and limit set to unlimited4345 behaves like returns a build4346 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4347 and usage is below the limit4348 behaves like returns a build4349 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4350 and usage is above the limit4351 behaves like does not return a build4352 is expected to be nil4353 and extra shared runners minutes purchased4354 and usage is below the combined limit4355 behaves like returns a build4356 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4357 and usage is above the combined limit4358 behaves like does not return a build4359 is expected to be nil4360 when limit set at global and namespace level4361 and namespace limit lower than global limit4362 behaves like does not return a build4363 is expected to be nil4364 and namespace limit higher than global limit4365 behaves like returns a build4366 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4367 when group is subgroup4368 and usage below the limit on root namespace4369 behaves like returns a build4370 is expected to be a kind of Ci::Build(id: integer, status: string, finished_at: datetime, trace: text, created_at: datetime, upda...g_for_resource_at: datetime_with_timezone, processed: boolean, scheduling_type: integer, tag_list: )4371 and usage above the limit on root namespace4372 behaves like does not return a build4373 is expected to be nil4374 secrets4375 when build has secrets defined4376 when there is no Vault server provided4377 does not pick the build and drops the build4378 when there is Vault server provided4379 picks the build4380 when build has no secrets defined4381 picks the build4382Dashboard::Projects::ListService4383 #execute4384 when passing a project id4385 behaves like project found4386 returns the project4387 when passing a project record4388 behaves like project found4389 returns the project4390 when passing invalid project id4391 behaves like project not found4392 returns an empty list4393 with insufficient access4394 behaves like project not found4395 returns an empty list4396 checking license4397 plan: "ultimate", trial: false, expired: false, available: true4398 behaves like project found4399 returns the project4400 plan: "ultimate", trial: false, expired: true, available: true4401 behaves like project found4402 returns the project4403 plan: "ultimate", trial: true, expired: false, available: false4404 behaves like project not found4405 returns an empty list4406 plan: "ultimate", trial: true, expired: true, available: false4407 behaves like project not found4408 returns an empty list4409 plan: "premium", trial: false, expired: false, available: true4410 behaves like project found4411 returns the project4412 plan: nil, trial: false, expired: false, available: false4413 behaves like project not found4414 returns an empty list4415 checking plans4416 check_namespace_plan: true, plan: :gold, available: true4417 behaves like project found4418 returns the project4419 if :include_unavailable option is provided4420 behaves like project found4421 returns the project4422 check_namespace_plan: true, plan: :silver, available: true4423 behaves like project found4424 returns the project4425 if :include_unavailable option is provided4426 behaves like project found4427 returns the project4428 check_namespace_plan: true, plan: nil, available: false4429 behaves like project not found4430 returns an empty list4431 if :include_unavailable option is provided4432 behaves like project found4433 returns the project4434 check_namespace_plan: false, plan: :gold, available: true4435 behaves like project found4436 returns the project4437 if :include_unavailable option is provided4438 behaves like project found4439 returns the project4440 check_namespace_plan: false, plan: :silver, available: true4441 behaves like project found4442 returns the project4443 if :include_unavailable option is provided4444 behaves like project found4445 returns the project4446 check_namespace_plan: false, plan: nil, available: true4447 behaves like project found4448 returns the project4449 if :include_unavailable option is provided4450 behaves like project found4451 returns the project4452 checking availability of public projects on GitLab.com4453 check_namespace_plan: true, project_visibility: 20, namespace_visibility: 20, available: true4454 behaves like project found4455 returns the project4456 check_namespace_plan: true, project_visibility: 0, namespace_visibility: 20, available: false4457 behaves like project not found4458 returns an empty list4459 check_namespace_plan: true, project_visibility: 20, namespace_visibility: 0, available: false4460 behaves like project not found4461 returns an empty list4462 check_namespace_plan: true, project_visibility: 0, namespace_visibility: 0, available: false4463 behaves like project not found4464 returns an empty list4465 check_namespace_plan: false, project_visibility: 20, namespace_visibility: 20, available: true4466 behaves like project found4467 returns the project4468 check_namespace_plan: false, project_visibility: 0, namespace_visibility: 20, available: true4469 behaves like project found4470 returns the project4471 check_namespace_plan: false, project_visibility: 20, namespace_visibility: 0, available: true4472 behaves like project found4473 returns the project4474 check_namespace_plan: false, project_visibility: 0, namespace_visibility: 0, available: true4475 behaves like project found4476 returns the project4477 when the user is an auditor4478 behaves like project found4479 returns the project4480Gitlab::LegacyGithubImport::ProjectCreator4481 #execute4482 creating a CI/CD only project4483 creates a project4484 calls the service to set up the project4485 creating a regular project4486 creates a project4487 doesn't apply any special setup4488Boards::Lists::CreateService4489 #execute4490 when assignee_id param is sent4491 creates a new assignee list4492 when milestone_id param is sent4493 creates a milestone list when param is valid4494 max limits4495 #create_list_attributes4496 behaves like attribute provider for list creation4497 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4498 contains the expected max limits4499 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4500 contains the expected max limits4501 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4502 contains the expected max limits4503 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4504 contains the expected max limits4505 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4506 contains the expected max limits4507 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4508 contains the expected max limits4509 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4510 contains the expected max limits4511 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4512 contains the expected max limits4513 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 1, expected_limit_metric: nil4514 contains the expected max limits4515 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4516 contains the expected max limits4517 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4518 contains the expected max limits4519 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4520 contains the expected max limits4521 params: {:limit_metric=>"all_metrics"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "all_metrics"4522 contains the expected max limits4523 params: {:limit_metric=>"issue_count"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_count"4524 contains the expected max limits4525 params: {:limit_metric=>"issue_weights"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_weights"4526 contains the expected max limits4527 params: {:limit_metric=>""}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: ""4528 contains the expected max limits4529 params: {:limit_metric=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4530 contains the expected max limits4531 behaves like attribute provider for list creation4532 params: {:max_issue_count=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4533 contains the expected max limits4534 params: {:max_issue_count=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4535 contains the expected max limits4536 params: {:max_issue_count=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4537 contains the expected max limits4538 params: {:max_issue_weight=>0}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4539 contains the expected max limits4540 params: {:max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4541 contains the expected max limits4542 params: {:max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4543 contains the expected max limits4544 params: {:max_issue_count=>1, :max_issue_weight=>0}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4545 contains the expected max limits4546 params: {:max_issue_count=>0, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4547 contains the expected max limits4548 params: {:max_issue_count=>1, :max_issue_weight=>1}, expected_max_issue_count: 1, expected_max_issue_weight: 1, expected_limit_metric: nil4549 contains the expected max limits4550 params: {:max_issue_count=>nil, :max_issue_weight=>1}, expected_max_issue_count: 0, expected_max_issue_weight: 1, expected_limit_metric: nil4551 contains the expected max limits4552 params: {:max_issue_count=>1, :max_issue_weight=>nil}, expected_max_issue_count: 1, expected_max_issue_weight: 0, expected_limit_metric: nil4553 contains the expected max limits4554 params: {:max_issue_count=>nil, :max_issue_weight=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4555 contains the expected max limits4556 params: {:limit_metric=>"all_metrics"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "all_metrics"4557 contains the expected max limits4558 params: {:limit_metric=>"issue_count"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_count"4559 contains the expected max limits4560 params: {:limit_metric=>"issue_weights"}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: "issue_weights"4561 contains the expected max limits4562 params: {:limit_metric=>""}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: ""4563 contains the expected max limits4564 params: {:limit_metric=>nil}, expected_max_issue_count: 0, expected_max_issue_weight: 0, expected_limit_metric: nil4565 contains the expected max limits4566Gitlab::ImportExport::Group::TreeRestorer4567 restore group tree4568 epics4569 has group epics4570 has award emoji4571 preserves epic state4572 epic notes4573 has epic notes4574 has award emoji on epic notes4575 board lists4576 has milestone & assignee lists4577 boards4578 has user generated milestones4579 does not have predefined milestones4580EpicPresenter4581 #show_data4582 has correct keys4583 has correct ancestors4584 returns the correct json schema for epic initial data4585 returns the correct json schema for epic meta data4586 avoids N+1 database queries4587 #group_epic_path4588 returns correct path4589 #group_epic_link_path4590 returns correct path4591 returns nothing with nil parent4592 when in subgroups4593 returns the correct path4594 #epic_reference4595 returns a reference4596 returns a full reference4597EpicTreeSorting4598 #move_after4599 moves an epic4600 moves an epic_issue4601 #move_before4602 moves an epic4603 moves an epic_issue4604 #move_between4605 moves an epic4606 moves an epic_issue4607 #move_sequence4608 when self is an epic4609 moves all objects correctly4610 when self is an epic_issue4611 moves all objects correctly4612Jobs/Load-Performance-Testing.gitlab-ci.yml4613 the created pipeline4614 has no errors4615 on master4616 behaves like load_performance job on tag or branch4617 by default4618 when LOAD_PERFORMANCE_DISABLED4619 on another branch4620 behaves like load_performance job on tag or branch4621 by default4622 when LOAD_PERFORMANCE_DISABLED4623 on tag4624 behaves like load_performance job on tag or branch4625 by default4626 when LOAD_PERFORMANCE_DISABLED4627 on merge request4628 has no jobs4629Banzai::Filter::EpicReferenceFilter4630 internal reference4631 links to a valid reference4632 links with adjacent text4633 includes a title attribute4634 escapes the title attribute4635 includes default classes4636 includes a data-group attribute4637 includes a data-epic attribute4638 includes a data-original attribute4639 ignores invalid epic IIDs4640 ignores out of range epic IDs4641 does not process links containing epic numbers followed by text4642 internal escaped reference4643 links to a valid reference4644 includes a title attribute4645 includes default classes4646 ignores invalid epic IIDs4647 cross-reference4648 ignores a shorthand reference from another group4649 links to a valid reference for full reference4650 link has valid text4651 includes default classes4652 escaped cross-reference4653 ignores a shorthand reference from another group4654 links to a valid reference for full reference4655 link has valid text4656 includes default classes4657 subgroup cross-reference4658 ignores a shorthand reference from another group4659 ignores reference with incomplete group path4660 links to a valid reference for full reference4661 link has valid text4662 includes default classes4663 url reference4664 links to a valid reference4665 link has valid text4666 includes default classes4667 full cross-refererence in a link href4668 links to a valid reference for link href4669 link has valid text4670 includes default classes4671 url in a link href4672 links to a valid reference for link href4673 link has valid text4674 includes default classes4675Boards::UpdateService4676 #execute4677 updates board's name4678 returns true with valid params4679 returns false with invalid params4680 updates the configuration params when scoped issue board is enabled4681 filters unpermitted params when scoped issue board is not enabled4682 behaves like setting a milestone scope4683 for a group board4684 behaves like an invalid milestone4685 when milestone is from another project / group4686 is expected to be nil4687 behaves like a predefined milestone4688 Upcoming4689 is expected to eq #<struct Timebox::TimeboxStruct title="Upcoming", name="#upcoming", id=-2>4690 Started4691 is expected to eq #<struct Timebox::TimeboxStruct title="Started", name="#started", id=-3>4692 behaves like a group milestone4693 when milestone is a group milestone4694 is expected to eq #<Milestone id:51 %"My title 368">4695 when milestone is an an ancestor group milestone4696 is expected to eq #<Milestone id:52 %"My title 369">4697 for a project board4698 behaves like an invalid milestone4699 when milestone is from another project / group4700 is expected to be nil4701 behaves like a predefined milestone4702 Upcoming4703 is expected to eq #<struct Timebox::TimeboxStruct title="Upcoming", name="#upcoming", id=-2>4704 Started4705 is expected to eq #<struct Timebox::TimeboxStruct title="Started", name="#started", id=-3>4706 behaves like a group milestone4707 when milestone is a group milestone4708 is expected to eq #<Milestone id:54 %"My title 371">4709 when milestone is an an ancestor group milestone4710 is expected to eq #<Milestone id:55 %"My title 372">4711 when milestone is a project milestone4712 is expected to eq #<Milestone id:56 group279/group280/project1757%"My title 373">4713 #set_labels4714 group board labels4715 updates using only existing label4716 user with admin_label ability4717 finds and creates labels4718 nested group4719 allows using ancestor group's label4720 project board labels4721 updates using only existing label4722 user with admin_label ability4723 finds and creates labels4724 nested group4725 allows using ancestor group's label4726 when label_ids param is provided4727 updates using only labels accessible by the project board4728Issues::CreateFromVulnerabilityDataService#execute4729 when user does not have permission to create issue4730 returns expected error4731 when issues are disabled on project4732 returns expected error4733 when params are valid4734 when category is SAST4735 when a description is present4736 behaves like a created issue4737 creates the issue with the given params4738 when a description is NOT present4739 behaves like a created issue4740 creates the issue with the given params4741 when category is dependency scanning4742 when a description is present4743 behaves like a created issue4744 creates the issue with the given params4745 when a description is NOT present4746 behaves like a created issue4747 creates the issue with the given params4748 when category is container scanning4749 when a description is present4750 behaves like a created issue4751 creates the issue with the given params4752 when a description is NOT present4753 behaves like a created issue4754 creates the issue with the given params4755 when category is DAST4756 behaves like a created issue4757 creates the issue with the given params4758 when params are invalid4759 when category is unknown4760 return expected error4761 when category is missing4762 return expected error4763RequirementsManagement::RequirementPolicy4764 behaves like resource with requirement permissions4765 when requirements feature is enabled4766 with admin4767 behaves like user with read only permissions4768 is expected to be allowed :read_requirement4769 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4770 with owner4771 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4772 with maintainer4773 behaves like user with manage permissions4774 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, and :create_requirement_test_report4775 is expected to be disallowed :destroy_requirement4776 with developer4777 behaves like user with manage permissions4778 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, and :create_requirement_test_report4779 is expected to be disallowed :destroy_requirement4780 with reporter4781 behaves like user with manage permissions4782 is expected to be allowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, and :create_requirement_test_report4783 is expected to be disallowed :destroy_requirement4784 with guest4785 behaves like user with read only permissions4786 is expected to be allowed :read_requirement4787 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4788 with non member4789 behaves like user with read only permissions4790 is expected to be allowed :read_requirement4791 is expected to be disallowed :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4792 with private resource parent4793 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4794 when requirements feature is disabled4795 with owner4796 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4797 with admin4798 is expected to be disallowed :read_requirement, :create_requirement, :admin_requirement, :update_requirement, :destroy_requirement, and :create_requirement_test_report4799Milestone4800 searches milestones4801 returns json with all needed elements4802 behaves like limited indexing is enabled4803 when the project is not enabled specifically4804 #searchable?4805 returns false4806 when a project is enabled specifically4807 #searchable?4808 returns true4809 when a group is enabled4810 #searchable?4811 returns true4812 behaves like no results when the user cannot read cross project4813 returns the record if a single project was passed4814 does not return anything when trying to search cross project4815RequirementsManagement::TestReport4816 associations4817 is expected to belong to author class_name => User required:4818 is expected to belong to requirement required:4819 is expected to belong to build required:4820 validations4821 is expected to validate that :requirement cannot be empty/falsy4822 is expected to validate that :state cannot be empty/falsy4823 scopes4824 for_user_build4825 returns only test reports matching build's user and pipeline4826 .persist_requirement_reports4827 if the CI report contains no entries4828 does not create any test reports4829 if the CI report contains some entries4830 and the entries are valid4831 creates test report with expected status for each open requirement4832 and the entries are not valid4833 creates test report with expected status for each open requirement4834Gitlab::Elastic::SnippetSearchResults4835 pagination4836 returns the correct page of results4837 returns the correct number of results for one page4838 #snippet_titles_count4839 returns the amount of matched snippet titles4840 when user is not author4841 returns nothing4842 when user is nil4843 returns nothing4844 when snippet is public4845 returns public snippet4846 when user has read_all_resources4847 admin mode disabled4848 returns nothing4849 admin mode enabled4850 returns matched snippets4851IssueLinks::CreateService4852 #execute4853 when there is an issue to relate4854 creates relationships4855 returns success status4856 when feature is not available4857 returns error4858 no relationship is created4859 when reference of any already related issue is present4860 sets the same type of relation for selected references4861Projects::Operations::UpdateService4862 #execute4863 tracing setting4864 with valid params4865 with an existing setting4866 updates the setting4867 with missing external_url4868 behaves like setting deletion4869 deletes the setting4870 does not modify original params4871 with empty external_url4872 behaves like setting deletion4873 deletes the setting4874 does not modify original params4875 with blank external_url4876 behaves like setting deletion4877 deletes the setting4878 does not modify original params4879 without an existing setting4880 creates a setting4881 with empty params4882 does nothing4883 status page setting4884 with valid params4885 with an existing setting4886 updates the setting4887 with aws key and secret blank4888 destroys the status_page_setting entry in DB4889 with not all keys blank4890 returns a validation error4891 without an existing setting4892 creates a setting4893Vulnerabilities::IssueLink4894 associations and fields4895 is expected to belong to vulnerability required:4896 is expected to belong to issue required:4897 is expected to define :link_type as an enum, backed by an integer, with possible values ‹{related: 1, created: 2}›4898 provides the "related" as default link_type4899 validations4900 is expected to validate that :vulnerability cannot be empty/falsy4901 is expected to validate that :issue cannot be empty/falsy4902 uniqueness4903 is expected to validate that :issue_id is case-sensitively unique within the scope of :vulnerability_id, producing a custom validation error on failure4904 only one "created" link allowed per vulnerability4905 is expected to validate that :vulnerability_id is case-sensitively unique, producing a custom validation error on failure4906 data consistency constraints4907 when a link between the same vulnerability and issue already exists4908 raises the uniqueness violation error4909 when there is an existing "created" issue link for vulnerability4910 prevents the creation of a new "created" issue link4911 allows the creation of a new "related" issue link4912 .by_link_type4913 when the given argument is `nil`4914 is expected to contain exactly #<Vulnerabilities::IssueLink id: 10, vulnerability_id: 8, issue_id: 93, link_type: "created", created_at: "2020-08-29 16:42:13", updated_at: "2020-08-29 16:42:13"> and #<Vulnerabilities::IssueLink id: 11, vulnerability_id: 9, issue_id: 94, link_type: "related", created_at: "2020-08-29 16:42:14", updated_at: "2020-08-29 16:42:14">4915 when the given argument is an uppercase string enum value4916 is expected to contain exactly #<Vulnerabilities::IssueLink id: 10, vulnerability_id: 8, issue_id: 93, link_type: "created", created_at: "2020-08-29 16:42:13", updated_at: "2020-08-29 16:42:13">4917 when the given argument is an uppercase symbol enum value4918 is expected to contain exactly #<Vulnerabilities::IssueLink id: 11, vulnerability_id: 9, issue_id: 94, link_type: "related", created_at: "2020-08-29 16:42:14", updated_at: "2020-08-29 16:42:14">4919 .for_issue4920 is expected to contain exactly #<Vulnerabilities::IssueLink id: 12, vulnerability_id: 10, issue_id: 95, link_type: "created", created_at: "2020-08-29 16:42:14", updated_at: "2020-08-29 16:42:14"> and #<Vulnerabilities::IssueLink id: 13, vulnerability_id: 11, issue_id: 95, link_type: "related", created_at: "2020-08-29 16:42:14", updated_at: "2020-08-29 16:42:14">4921DastSiteProfiles::CreateService4922 #execute4923 when a user does not have access to the project4924 returns an error status4925 populates message4926 when the user can run a dast scan4927 returns a success status4928 creates a dast_site_profile4929 creates a dast_site4930 returns a dast_site_profile payload4931 when the dast_site already exists4932 returns a success status4933 does not create a new dast_site4934 when the target url is localhost4935 returns an error status4936 populates errors4937 when on demand scan feature is disabled4938 returns an error status4939 populates message4940 when on demand scan licensed feature is not available4941 returns an error status4942 populates message4943Mutations::DastSiteProfiles::Delete4944 #resolve4945 when on demand scan feature is enabled4946 when the project does not exist4947 raises an exception4948 when the user is not associated with the project4949 raises an exception4950 when the user is an owner4951 has no errors4952 when the user is a maintainer4953 has no errors4954 when the user is a developer4955 has no errors4956 when the user is a reporter4957 raises an exception4958 when the user is a guest4959 raises an exception4960 when the user can run a dast scan4961 deletes the dast_site_profile4962 when there is an issue deleting the dast_site_profile4963 returns an error4964 when on demand scan feature is not enabled4965 raises an exception4966 when on demand scan licensed feature is not available4967 raises an exception4968MergeRequests::RemoveApprovalService4969 #execute4970 with a user who has approved4971 removes the approval4972 creates an unapproval note4973 fires an unapproval webhook4974 does not send a notification4975 resets the cache for approvals4976 with an approved merge request4977 fires an unapproved webhook and sends a notification4978StatusPage::MarkForPublicationService4979 #execute4980 when license is not available4981 behaves like does not track the incident4982 is expected not to change `::StatusPage::PublishedIncident.count`4983 is expected not to change `issue.notes.count`4984 returns the exepected error state4985 when status page does not exist4986 behaves like does not track the incident4987 is expected not to change `::StatusPage::PublishedIncident.count`4988 is expected not to change `issue.notes.count`4989 returns the exepected error state4990 when status page is disabled4991 behaves like does not track the incident4992 is expected not to change `::StatusPage::PublishedIncident.count`4993 is expected not to change `issue.notes.count`4994 returns the exepected error state4995 when status page is enabled4996 when issue is publishable4997 is expected to change `::StatusPage::PublishedIncident.count` by 14998 is expected to change `issue.notes.count` by 14999 is expected to be success5000 increments the publish counter5001 when issue is confidential5002 behaves like does not track the incident5003 is expected not to change `::StatusPage::PublishedIncident.count`5004 is expected not to change `issue.notes.count`5005 returns the exepected error state5006 when issue is already published5007 behaves like does not track the incident5008 is expected not to change `::StatusPage::PublishedIncident.count`5009 is expected not to change `issue.notes.count`5010 returns the exepected error state5011 when user is not logged in5012 behaves like does not track the incident5013 is expected not to change `::StatusPage::PublishedIncident.count`5014 is expected not to change `issue.notes.count`5015 returns the exepected error state5016 when user does not have permissions5017 behaves like does not track the incident5018 is expected not to change `::StatusPage::PublishedIncident.count`5019 is expected not to change `issue.notes.count`5020 returns the exepected error state5021 when an error occurs5022 is expected not to change `::StatusPage::PublishedIncident.count`5023 is expected not to change `issue.notes.count`5024 returns the exepected error state and reports the error to sentry5025Operations::FeatureFlags::Strategy5026 validations5027 is expected to validate that :name is either ‹"default"›, ‹"gradualRolloutUserId"›, ‹"userWithId"›, or ‹"gitlabUserList"›, producing a custom validation error on failure5028 parameters5029 when the strategy name is invalid5030 invalid_name: nil5031 skips parameters validation5032 invalid_name: {}5033 skips parameters validation5034 invalid_name: []5035 skips parameters validation5036 invalid_name: "nothing"5037 skips parameters validation5038 invalid_name: 35039 skips parameters validation5040 when the strategy name is gradualRolloutUserId5041 allows the parameters in any order5042 invalid_parameters: nil5043 must have valid parameters for the strategy5044 invalid_parameters: {}5045 must have valid parameters for the strategy5046 invalid_parameters: {:percentage=>"40", :groupId=>"mygroup", :userIds=>"4"}5047 must have valid parameters for the strategy5048 invalid_parameters: {:percentage=>"40"}5049 must have valid parameters for the strategy5050 invalid_parameters: {:percentage=>"40", :groupId=>"mygroup", :extra=>nil}5051 must have valid parameters for the strategy5052 invalid_parameters: {:groupId=>"mygroup"}5053 must have valid parameters for the strategy5054 percentage5055 invalid_value: 505056 must be a string value between 0 and 100 inclusive and without a percentage sign5057 invalid_value: 40.05058 must be a string value between 0 and 100 inclusive and without a percentage sign5059 invalid_value: {:key=>"value"}5060 must be a string value between 0 and 100 inclusive and without a percentage sign5061 invalid_value: "garbage"5062 must be a string value between 0 and 100 inclusive and without a percentage sign5063 invalid_value: "00"5064 must be a string value between 0 and 100 inclusive and without a percentage sign5065 invalid_value: "01"5066 must be a string value between 0 and 100 inclusive and without a percentage sign5067 invalid_value: "101"5068 must be a string value between 0 and 100 inclusive and without a percentage sign5069 invalid_value: "-1"5070 must be a string value between 0 and 100 inclusive and without a percentage sign5071 invalid_value: "-10"5072 must be a string value between 0 and 100 inclusive and without a percentage sign5073 invalid_value: "0100"5074 must be a string value between 0 and 100 inclusive and without a percentage sign5075 invalid_value: "1000"5076 must be a string value between 0 and 100 inclusive and without a percentage sign5077 invalid_value: "10.0"5078 must be a string value between 0 and 100 inclusive and without a percentage sign5079 invalid_value: "5%"5080 must be a string value between 0 and 100 inclusive and without a percentage sign5081 invalid_value: "25%"5082 must be a string value between 0 and 100 inclusive and without a percentage sign5083 invalid_value: "100hi"5084 must be a string value between 0 and 100 inclusive and without a percentage sign5085 invalid_value: "e100"5086 must be a string value between 0 and 100 inclusive and without a percentage sign5087 invalid_value: "30m"5088 must be a string value between 0 and 100 inclusive and without a percentage sign5089 invalid_value: " "5090 must be a string value between 0 and 100 inclusive and without a percentage sign5091 invalid_value: "\r\n"5092 must be a string value between 0 and 100 inclusive and without a percentage sign5093 invalid_value: "\n"5094 must be a string value between 0 and 100 inclusive and without a percentage sign5095 invalid_value: "\t"5096 must be a string value between 0 and 100 inclusive and without a percentage sign5097 invalid_value: "\n10"5098 must be a string value between 0 and 100 inclusive and without a percentage sign5099 invalid_value: "20\n"5100 must be a string value between 0 and 100 inclusive and without a percentage sign5101 invalid_value: "\n100"5102 must be a string value between 0 and 100 inclusive and without a percentage sign5103 invalid_value: "100\n"5104 must be a string value between 0 and 100 inclusive and without a percentage sign5105 invalid_value: "\n "5106 must be a string value between 0 and 100 inclusive and without a percentage sign5107 invalid_value: nil5108 must be a string value between 0 and 100 inclusive and without a percentage sign5109 valid_value: "0"5110 must be a string value between 0 and 100 inclusive and without a percentage sign5111 valid_value: "1"5112 must be a string value between 0 and 100 inclusive and without a percentage sign5113 valid_value: "10"5114 must be a string value between 0 and 100 inclusive and without a percentage sign5115 valid_value: "38"5116 must be a string value between 0 and 100 inclusive and without a percentage sign5117 valid_value: "100"5118 must be a string value between 0 and 100 inclusive and without a percentage sign5119 valid_value: "93"5120 must be a string value between 0 and 100 inclusive and without a percentage sign5121 groupId5122 invalid_value: nil5123 must be a string value of up to 32 lowercase characters5124 invalid_value: 45125 must be a string value of up to 32 lowercase characters5126 invalid_value: 50.05127 must be a string value of up to 32 lowercase characters5128 invalid_value: {}5129 must be a string value of up to 32 lowercase characters5130 invalid_value: "spaces bad"5131 must be a string value of up to 32 lowercase characters5132 invalid_value: "bad$"5133 must be a string value of up to 32 lowercase characters5134 invalid_value: "%bad"5135 must be a string value of up to 32 lowercase characters5136 invalid_value: "<bad"5137 must be a string value of up to 32 lowercase characters5138 invalid_value: "bad>"5139 must be a string value of up to 32 lowercase characters5140 invalid_value: "!bad"5141 must be a string value of up to 32 lowercase characters5142 invalid_value: ".bad"5143 must be a string value of up to 32 lowercase characters5144 invalid_value: "Bad"5145 must be a string value of up to 32 lowercase characters5146 invalid_value: "bad1"5147 must be a string value of up to 32 lowercase characters5148 invalid_value: ""5149 must be a string value of up to 32 lowercase characters5150 invalid_value: " "5151 must be a string value of up to 32 lowercase characters5152 invalid_value: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"5153 must be a string value of up to 32 lowercase characters5154 invalid_value: "ba_d"5155 must be a string value of up to 32 lowercase characters5156 invalid_value: "ba\nd"5157 must be a string value of up to 32 lowercase characters5158 valid_value: "somegroup"5159 must be a string value of up to 32 lowercase characters5160 valid_value: "anothergroup"5161 must be a string value of up to 32 lowercase characters5162 valid_value: "okay"5163 must be a string value of up to 32 lowercase characters5164 valid_value: "g"5165 must be a string value of up to 32 lowercase characters5166 valid_value: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"5167 must be a string value of up to 32 lowercase characters5168 when the strategy name is userWithId5169 invalid_parameters: nil5170 must have valid parameters for the strategy5171 invalid_parameters: {:userIds=>"sam", :percentage=>"40"}5172 must have valid parameters for the strategy5173 invalid_parameters: {:userIds=>"sam", :some=>"param"}5174 must have valid parameters for the strategy5175 invalid_parameters: {:percentage=>"40"}5176 must have valid parameters for the strategy5177 invalid_parameters: {}5178 must have valid parameters for the strategy5179 userIds5180 valid_value: ""5181 is valid with a string of comma separated values5182 valid_value: "sam"5183 is valid with a string of comma separated values5184 valid_value: "1"5185 is valid with a string of comma separated values5186 valid_value: "a"5187 is valid with a string of comma separated values5188 valid_value: "uuid-of-some-kind"5189 is valid with a string of comma separated values5190 valid_value: "sam,fred,tom,jane,joe,mike"5191 is valid with a string of comma separated values5192 valid_value: "gitlab@example.com"5193 is valid with a string of comma separated values5194 valid_value: "123,4"5195 is valid with a string of comma separated values5196 valid_value: "UPPER,Case,charActeRS"5197 is valid with a string of comma separated values5198 valid_value: "0"5199 is valid with a string of comma separated values5200 valid_value: "$valid$email#2345\#$%..{}+=-)?\\/@example.com"5201 is valid with a string of comma separated values5202 valid_value: "spaces allowed"5203 is valid with a string of comma separated values5204 valid_value: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"5205 is valid with a string of comma separated values5206 valid_value: "a,bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,ccc"5207 is valid with a string of comma separated values5208 valid_value: "many spaces"5209 is valid with a string of comma separated values5210 invalid_value: 15211 is invalid5212 invalid_value: 2.55213 is invalid5214 invalid_value: {}5215 is invalid5216 invalid_value: []5217 is invalid5218 invalid_value: nil5219 is invalid5220 invalid_value: "123\n456"5221 is invalid5222 invalid_value: "1,2,3,12\t3"5223 is invalid5224 invalid_value: "\n"5225 is invalid5226 invalid_value: "\n\r"5227 is invalid5228 invalid_value: "joe\r,sam"5229 is invalid5230 invalid_value: "1,2,2"5231 is invalid5232 invalid_value: "1,,2"5233 is invalid5234 invalid_value: "1,2,,,,"5235 is invalid5236 invalid_value: "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"5237 is invalid5238 invalid_value: "1, ,2"5239 is invalid5240 invalid_value: "tim, ,7"5241 is invalid5242 invalid_value: " "5243 is invalid5244 invalid_value: " "5245 is invalid5246 invalid_value: " ,1"5247 is invalid5248 invalid_value: "1, "5249 is invalid5250 invalid_value: " leading,1"5251 is invalid5252 invalid_value: "1,trailing "5253 is invalid5254 invalid_value: "1, both ,2"5255 is invalid5256 when the strategy name is default5257 must be empty5258 invalid_value: {:groupId=>"hi", :percentage=>"7"}5259 must be empty5260 invalid_value: ""5261 must be empty5262 invalid_value: "nothing"5263 must be empty5264 invalid_value: 75265 must be empty5266 invalid_value: nil5267 must be empty5268 invalid_value: []5269 must be empty5270 invalid_value: 2.55271 must be empty5272 when the strategy name is gitlabUserList5273 must be empty5274 invalid_value: {:groupId=>"default", :percentage=>"7"}5275 must be empty5276 invalid_value: ""5277 must be empty5278 invalid_value: "nothing"5279 must be empty5280 invalid_value: 75281 must be empty5282 invalid_value: nil5283 must be empty5284 invalid_value: []5285 must be empty5286 invalid_value: 2.55287 must be empty5288 invalid_value: {:userIds=>"user1"}5289 must be empty5290 associations5291 when name is gitlabUserList5292 is valid when associated with a user list5293 is invalid without a user list5294 is invalid when associated with a user list from another project5295 when name is default5296 is invalid when associated with a user list5297 is valid without a user list5298 when name is userWithId5299 is invalid when associated with a user list5300 is valid without a user list5301 when name is gradualRolloutUserId5302 is invalid when associated with a user list5303 is valid without a user list5304MergeRequests::SyncCodeOwnerApprovalRules5305 #execute5306 creates rules for code owner entries that don't have a rule5307 deletes rules that are not relevant anymore5308 updates rules for which the users changed5309Mutations::DastSiteProfiles::Create5310 #resolve5311 when on demand scan feature is enabled5312 when the project does not exist5313 raises an exception5314 when the user is not associated with the project5315 raises an exception5316 when the user is an owner5317 returns the dast_site_profile id5318 when the user is a maintainer5319 returns the dast_site_profile id5320 when the user can run a dast scan5321 returns the dast_site_profile id5322 calls the dast_site_profile creation service5323 when the project name already exists5324 returns an error5325 when on demand scan feature is not enabled5326 raises an exception5327 when on demand scan licensed feature is not available5328 raises an exception5329Gitlab::Ci::Parsers::Security::DependencyScanning5330 #parse!5331 report_format: :dependency_scanning, occurrence_count: 4, identifier_count: 7, scanner_count: 2, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"5332 parses all identifiers and findings5333 generates expected location5334 generates expected metadata_version5335 report_format: :dependency_scanning_deprecated, occurrence_count: 4, identifier_count: 7, scanner_count: 2, file_path: "app/pom.xml", package_name: "io.netty/netty", package_version: "3.9.1.Final", version: "1.3"5336 parses all identifiers and findings5337 generates expected location5338 generates expected metadata_version5339 report_format: :dependency_scanning_remediation, occurrence_count: 2, identifier_count: 3, scanner_count: 1, file_path: "yarn.lock", package_name: "debug", package_version: "1.0.5", version: "2.0"5340 parses all identifiers and findings5341 generates expected location5342 generates expected metadata_version5343 when parsing a vulnerability with a missing location5344 is expected not to raise Exception5345 when parsing a vulnerability with a missing cve5346 is expected not to raise Exception5347 when vulnerabilities have remediations5348 generates occurrence with expected remediation5349Mutations::Issues::SetAssignees5350 behaves like a multi-assignable resource5351 #resolve5352 when the user can update the resource5353 sets the assignees5354 removes assignees not in the list5355 when passing "append" as true5356 does not remove assignees not in the list5357EE::UserCalloutsHelper5358 .render_enable_hashed_storage_warning5359 when we should show the enable warning5360 renders the enable warning5361 when we should not show the enable warning5362 does not render the enable warning5363 .render_migrate_hashed_storage_warning5364 when we should show the migrate warning5365 renders the migrate warning5366 when we should not show the migrate warning5367 does not render the migrate warning5368 .show_enable_hashed_storage_warning?5369 when hashed storage is disabled5370 when the enable warning has not been dismissed5371 is expected to be truthy5372 when the enable warning was dismissed5373 is expected to be falsy5374 when hashed storage is enabled5375 is expected to be falsy5376 .show_migrate_hashed_storage_warning?5377 when hashed storage is disabled5378 is expected to be falsy5379 when hashed storage is enabled5380 when the enable warning has not been dismissed5381 when there is a project in non-hashed-storage5382 is expected to be truthy5383 when there are NO projects in non-hashed-storage5384 is expected to be falsy5385 when the enable warning was dismissed5386 is expected to be falsy5387 .show_canary_deployment_callout?5388 when user needs to upgrade to canary deployments5389 when user has dismissed5390 is expected to be falsey5391 when user has not dismissed5392 is expected to be truthy5393 when user already has access to canary deployments5394 is expected to be falsey5395 #render_dashboard_gold_trial5396 any_namespace_without_trial?: true, show_gold_trial?: true, user_default_dashboard?: true, has_no_trial_or_paid_plan?: true, should_render?: true5397 is expected to receive render("shared/gold_trial_callout_content") 1 time5398 any_namespace_without_trial?: true, show_gold_trial?: true, user_default_dashboard?: true, has_no_trial_or_paid_plan?: false, should_render?: false5399 is expected not to receive render(*(any args)) 0 times5400 any_namespace_without_trial?: true, show_gold_trial?: true, user_default_dashboard?: false, has_no_trial_or_paid_plan?: true, should_render?: false5401 is expected not to receive render(*(any args)) 0 times5402 any_namespace_without_trial?: true, show_gold_trial?: false, user_default_dashboard?: true, has_no_trial_or_paid_plan?: true, should_render?: false5403 is expected not to receive render(*(any args)) 0 times5404 any_namespace_without_trial?: true, show_gold_trial?: true, user_default_dashboard?: false, has_no_trial_or_paid_plan?: false, should_render?: false5405 is expected not to receive render(*(any args)) 0 times5406 any_namespace_without_trial?: true, show_gold_trial?: false, user_default_dashboard?: false, has_no_trial_or_paid_plan?: true, should_render?: false5407 is expected not to receive render(*(any args)) 0 times5408 any_namespace_without_trial?: true, show_gold_trial?: false, user_default_dashboard?: true, has_no_trial_or_paid_plan?: false, should_render?: false5409 is expected not to receive render(*(any args)) 0 times5410 any_namespace_without_trial?: true, show_gold_trial?: false, user_default_dashboard?: false, has_no_trial_or_paid_plan?: false, should_render?: false5411 is expected not to receive render(*(any args)) 0 times5412 any_namespace_without_trial?: false, show_gold_trial?: true, user_default_dashboard?: true, has_no_trial_or_paid_plan?: true, should_render?: false5413 is expected not to receive render(*(any args)) 0 times5414 any_namespace_without_trial?: false, show_gold_trial?: true, user_default_dashboard?: true, has_no_trial_or_paid_plan?: false, should_render?: false5415 is expected not to receive render(*(any args)) 0 times5416 any_namespace_without_trial?: false, show_gold_trial?: true, user_default_dashboard?: false, has_no_trial_or_paid_plan?: true, should_render?: false5417 is expected not to receive render(*(any args)) 0 times5418 any_namespace_without_trial?: false, show_gold_trial?: false, user_default_dashboard?: true, has_no_trial_or_paid_plan?: true, should_render?: false5419 is expected not to receive render(*(any args)) 0 times5420 any_namespace_without_trial?: false, show_gold_trial?: true, user_default_dashboard?: false, has_no_trial_or_paid_plan?: false, should_render?: false5421 is expected not to receive render(*(any args)) 0 times5422 any_namespace_without_trial?: false, show_gold_trial?: false, user_default_dashboard?: false, has_no_trial_or_paid_plan?: true, should_render?: false5423 is expected not to receive render(*(any args)) 0 times5424 any_namespace_without_trial?: false, show_gold_trial?: false, user_default_dashboard?: true, has_no_trial_or_paid_plan?: false, should_render?: false5425 is expected not to receive render(*(any args)) 0 times5426 any_namespace_without_trial?: false, show_gold_trial?: false, user_default_dashboard?: false, has_no_trial_or_paid_plan?: false, should_render?: false5427 is expected not to receive render(*(any args)) 0 times5428 when render_dashboard_gold_trial feature is disabled5429 does not render5430 #render_billings_gold_trial5431 never_had_trial?: true, show_gold_trial?: true, gold_plan?: false, free_plan?: false, should_render?: true5432 is expected to receive render("shared/gold_trial_callout_content", {:callout=>"gold_trial_billings", :is_dismissable=>true}) 1 time5433 never_had_trial?: true, show_gold_trial?: true, gold_plan?: false, free_plan?: true, should_render?: true5434 is expected to receive render("shared/gold_trial_callout_content", {:callout=>"gold_trial_billings", :is_dismissable=>false}) 1 time5435 never_had_trial?: true, show_gold_trial?: true, gold_plan?: true, free_plan?: true, should_render?: false5436 is expected not to receive render(*(any args)) 0 times5437 never_had_trial?: true, show_gold_trial?: true, gold_plan?: true, free_plan?: false, should_render?: false5438 is expected not to receive render(*(any args)) 0 times5439 never_had_trial?: true, show_gold_trial?: false, gold_plan?: true, free_plan?: true, should_render?: false5440 is expected not to receive render(*(any args)) 0 times5441 never_had_trial?: true, show_gold_trial?: false, gold_plan?: false, free_plan?: true, should_render?: false5442 is expected not to receive render(*(any args)) 0 times5443 never_had_trial?: true, show_gold_trial?: false, gold_plan?: true, free_plan?: false, should_render?: false5444 is expected not to receive render(*(any args)) 0 times5445 never_had_trial?: true, show_gold_trial?: false, gold_plan?: false, free_plan?: false, should_render?: false5446 is expected not to receive render(*(any args)) 0 times5447 never_had_trial?: false, show_gold_trial?: true, gold_plan?: false, free_plan?: false, should_render?: false5448 is expected not to receive render(*(any args)) 0 times5449 never_had_trial?: false, show_gold_trial?: true, gold_plan?: false, free_plan?: true, should_render?: false5450 is expected not to receive render(*(any args)) 0 times5451 never_had_trial?: false, show_gold_trial?: true, gold_plan?: true, free_plan?: true, should_render?: false5452 is expected not to receive render(*(any args)) 0 times5453 never_had_trial?: false, show_gold_trial?: true, gold_plan?: true, free_plan?: false, should_render?: false5454 is expected not to receive render(*(any args)) 0 times5455 never_had_trial?: false, show_gold_trial?: false, gold_plan?: true, free_plan?: true, should_render?: false5456 is expected not to receive render(*(any args)) 0 times5457 never_had_trial?: false, show_gold_trial?: false, gold_plan?: false, free_plan?: true, should_render?: false5458 is expected not to receive render(*(any args)) 0 times5459 never_had_trial?: false, show_gold_trial?: false, gold_plan?: true, free_plan?: false, should_render?: false5460 is expected not to receive render(*(any args)) 0 times5461 never_had_trial?: false, show_gold_trial?: false, gold_plan?: false, free_plan?: false, should_render?: false5462 is expected not to receive render(*(any args)) 0 times5463 #render_account_recovery_regular_check5464 kind_of_user: :anonymous, is_gitlab_com?: false, dismissed_callout?: false, should_render?: false5465 is expected not to receive render(*(any args)) 0 times5466 kind_of_user: :anonymous, is_gitlab_com?: true, dismissed_callout?: false, should_render?: false5467 is expected not to receive render(*(any args)) 0 times5468 kind_of_user: :new_user, is_gitlab_com?: false, dismissed_callout?: false, should_render?: false5469 is expected not to receive render(*(any args)) 0 times5470 kind_of_user: :new_user, is_gitlab_com?: true, dismissed_callout?: false, should_render?: false5471 is expected not to receive render(*(any args)) 0 times5472 kind_of_user: :old_user, is_gitlab_com?: false, dismissed_callout?: false, should_render?: false5473 is expected not to receive render(*(any args)) 0 times5474 kind_of_user: :old_user, is_gitlab_com?: true, dismissed_callout?: false, should_render?: true5475 is expected to receive render("shared/check_recovery_settings") 1 time5476 kind_of_user: :old_user, is_gitlab_com?: false, dismissed_callout?: true, should_render?: false5477 is expected not to receive render(*(any args)) 0 times5478 kind_of_user: :old_user, is_gitlab_com?: true, dismissed_callout?: true, should_render?: false5479 is expected not to receive render(*(any args)) 0 times5480 .show_threat_monitoring_info?5481 when the threat monitoring info has not been dismissed5482 is expected to be truthy5483 when the threat monitoring info was dismissed5484 is expected to be falsy5485 .show_feature_flags_new_version?5486 when the feature flags new version info has not been dismissed5487 is expected to be truthy5488 when the feature flags new version has been dismissed5489 is expected to be falsy5490 .show_token_expiry_notification?5491 expiration_enforced?: true, dismissed_callout?: true, active?: true, result: false5492 is expected to equal false5493 when user is nil5494 is expected to equal false5495 expiration_enforced?: true, dismissed_callout?: true, active?: false, result: false5496 is expected to equal false5497 when user is nil5498 is expected to equal false5499 expiration_enforced?: true, dismissed_callout?: false, active?: true, result: false5500 is expected to equal false5501 when user is nil5502 is expected to equal false5503 expiration_enforced?: false, dismissed_callout?: true, active?: true, result: false5504 is expected to equal false5505 when user is nil5506 is expected to equal false5507 expiration_enforced?: true, dismissed_callout?: false, active?: false, result: false5508 is expected to equal false5509 when user is nil5510 is expected to equal false5511 expiration_enforced?: false, dismissed_callout?: false, active?: true, result: true5512 is expected to equal true5513 when user is nil5514 is expected to equal false5515 expiration_enforced?: false, dismissed_callout?: true, active?: false, result: false5516 is expected to equal false5517 when user is nil5518 is expected to equal false5519 expiration_enforced?: false, dismissed_callout?: false, active?: false, result: false5520 is expected to equal false5521 when user is nil5522 is expected to equal false5523EE::Audit::ProjectChangesAuditor5524 .audit_changes5525 non audit changes5526 does not call the audit event service5527 audit changes5528 creates an event when the visibility change5529 creates an event when the name change5530 creates an event when the path change5531 creates an event when the namespace change5532 creates an event when the repository size limit changes5533 creates an event when the packages enabled setting changes5534 creates an event when the merge requests author approval changes5535 creates an event when the merge requests committers approval changes5536GroupSaml::GroupManagedAccounts::TransferMembershipService5537 removes the current password5538 returns true5539 does not reduce the amount of memberships5540 removes previous known identities of the account5541 when remove_non_gma_memberships flag is enable5542 reduces the amount of memberships5543 when at least one non-owner member was not removed5544 returns a falsy value5545 when the user changes are not saved5546 doesn't remove account's members5547 when the user is owner of a group5548 does not reduce the amount of memberships5549 when the user changes are not saved5550 doesn't remove account's identities5551 when the email doesn't match5552 returns a falsy value5553 convert_user_to_group_managed_accounts flag is disable5554 returns a falsy value5555 doesn't remove non-owner members without dedicated accounts from the group5556 transferred account5557 doesn't allow blank passwords5558OmniAuth::Strategies::GroupSaml5559 callback_path option5560 dynamically detects /groups/:group_path/-/saml/callback5561 rejects default callback paths5562 POST /groups/:group_path/-/saml/callback5563 returns 404 when the group is not found5564 with valid SAMLResponse5565{"severity":"INFO","timestamp":"2020-08-29T16:43:22.619Z","pid":1828,"progname":"omniauth","message":"(group_saml) Callback phase initiated."}5566 sets the auth hash based on the response5567{"severity":"INFO","timestamp":"2020-08-29T16:43:22.827Z","pid":1828,"progname":"omniauth","message":"(group_saml) Callback phase initiated."}5568 sets omniauth setings from configured settings5569 returns 404 when SAML is disabled for the group5570 user is testing SAML response5571{"severity":"INFO","timestamp":"2020-08-29T16:43:23.201Z","pid":1828,"progname":"omniauth","message":"(group_saml) Callback phase initiated."}5572 stores the saml response for retrieval after redirect5573{"severity":"INFO","timestamp":"2020-08-29T16:43:23.361Z","pid":1828,"progname":"omniauth","message":"(group_saml) Callback phase initiated."}5574 redirects back to the settings page5575 with invalid SAMLResponse5576{"severity":"INFO","timestamp":"2020-08-29T16:43:23.521Z","pid":1828,"progname":"omniauth","message":"(group_saml) Callback phase initiated."}5577{"severity":"ERROR","timestamp":"2020-08-29T16:43:23.545Z","pid":1828,"progname":"omniauth","message":"(group_saml) Authentication failure! invalid_ticket: OneLogin::RubySaml::ValidationError, Current time is on or after NotOnOrAfter condition (2020-08-29 16:43:23 UTC \u003e= 2012-11-08 20:44:54 UTC)"}5578 redirects somewhere so failure messages can be displayed5579 Group SAML not licensed for group5580 returns 4045581 POST /users/auth/group_saml5582{"severity":"INFO","timestamp":"2020-08-29T16:43:23.859Z","pid":1828,"progname":"omniauth","message":"(group_saml) Request phase initiated."}5583 redirects to the provider login page5584 returns 404 for groups without SAML configured5585 returns 404 when the group is not found5586 returns 404 when missing group_path param5587{"severity":"INFO","timestamp":"2020-08-29T16:43:24.491Z","pid":1828,"progname":"omniauth","message":"(group_saml) Request phase initiated."}5588 stores request ID during request phase5589 POST /users/auth/group_saml/metadata5590 returns 404 when the group is not found5591 returns 404 to avoid disclosing group existence5592 returns metadata when a valid token is provided5593 returns 404 when an invalid token is provided5594 returns 404 when if group is not found but a token is provided5595 sets omniauth setings from default settings5596 POST /users/auth/group_saml/slo5597 returns 404 to avoid disclosing group existence5598 POST /users/auth/group_saml/spslo5599 returns 404 to avoid disclosing group existence5600EE::ResourceEvents::ChangeWeightService5601 creates the expected event record5602 when weight is nil5603 creates an event record5604 when there is no existing weight event record5605 creates the expected event records5606 bulk issue weight updates5607 bulk insert weight changes5608 calls first_weight_event? once per resource5609Verify/Load-Performance-Testing.gitlab-ci.yml5610 the created pipeline5611 has no errors5612 on master5613 behaves like load_performance job on tag or branch5614 by default5615 on another branch5616 behaves like load_performance job on tag or branch5617 by default5618 on tag5619 behaves like load_performance job on tag or branch5620 by default5621 on merge request5622 has no jobs5623Boards::MilestonesFinder5624 #execute5625 when project board5626 returns milestones from board project and ancestors groups5627 when group board5628 returns milestones from board group and its ancestors5629Analytics::MergeRequestMetricsRefresh5630 #execute5631 updates metric via update_metric! method5632 when metric is already present5633 does not update metric5634 updates metric when forced5635 #execute_async5636 schedules CodeReviewMetricsWorker with params5637ApprovalMergeRequestRulePolicy5638 when user can update merge request5639 allows updating approval rule5640 when rule is any-approval5641 allows updating approval rule5642 when rule is not user editable5643 disallows updating approval rule5644 when user cannot update merge request5645 disallows updating approval rule5646EE::Gitlab::Checks::PushRules::TagCheck5647 #validate!5648 returns an error if the rule denies tag deletion5649 behaves like check ignored when push rule unlicensed5650 is expected to be truthy5651 when tag is deleted in web UI5652 ignores the push rule5653Boards::Issues::ListService5654 #execute5655 with assignee, milestone and label lists present5656 milestone lists5657 returns issues from milestone persisted in the list5658 backlog list context5659 returns issues without milestones and without milestones from other lists5660 #metadata5661 returns issues count and weight for list5662 returns 0 when filtering by labels and issues are not present5663 when list_id is missing5664 when board is not scoped by milestone5665 returns opened issues without board labels and assignees applied5666 when board is scoped by milestone5667 returns opened issues without board labels, assignees, or milestone applied5668 when milestone is predefined5669 as upcoming5670 returns open issue for backlog without board label or assignees5671 as started5672 returns open issue for backlog without board label or assignees5673 when :all_lists param is set5674 returns matching issues in all board lists5675 when search param is present5676 returns correct issues5677 returns correct issues using 2 characters5678SystemNotes::IssuablesService5679 #change_weight_note5680 when weight changed5681 sets the note text5682 behaves like a system note5683 has the correct attributes5684 when weight removed5685 sets the note text5686 behaves like a system note5687 has the correct attributes5688 #change_health_status_note5689 when health_status changed5690 sets the note text5691 behaves like a system note5692 has the correct attributes5693 when health_status removed5694 sets the note text5695 behaves like a system note5696 has the correct attributes5697 #publish_issue_to_status_page5698 sets the note text5699 behaves like a system note5700 has the correct attributes5701 #change_iteration5702 for a project iteration5703 behaves like a system note5704 has the correct attributes5705 behaves like a note with overridable created_at5706 the note has the correct time5707 when iteration added5708 sets the note text5709 when iteration removed5710 sets the note text5711 for a group iteration5712 behaves like a system note5713 has the correct attributes5714 behaves like a note with overridable created_at5715 the note has the correct time5716 when iteration added5717 sets the note text to use the iteration id5718 when iteration removed5719 sets the note text5720Users::DestroyService5721 #execute5722 returns result5723 when project is a mirror5724 disables mirror and does not assign a new mirror_user5725 audit events5726 when licensed5727 does not log audit event if operation fails5728 when operation succeeds5729 logs an audit event5730 logs the audit event info5731 when not licensed5732 does not log audit event5733PersonalAccessToken5734 scopes5735 with_expires_at_after5736 includes the tokens with higher than the lifetime expires_at value5737 doesn't contain expired tokens5738 doesn't contain tokens within the expiration time5739 with_no_expires_at5740 includes the tokens with nil expires_at5741 doesn't contain expired tokens5742 doesn't contain tokens within the expiration time5743 expires_in5744 only includes one token5745 validations5746 allows to define expires_at5747 allows to don't define expires_at5748 with expiration policy5749 when the feature is licensed5750 when the user does not belong to a managed group5751 behaves like PAT expiry rules are enforced5752 requires to be less or equal than the max_personal_access_token_lifetime5753 can't be blank5754 when the user belongs to a managed group5755 when the group has enforced a PAT expiry rule5756 behaves like PAT expiry rules are enforced5757 requires to be less or equal than the max_personal_access_token_lifetime5758 can't be blank5759 when the group has not enforced a PAT expiry setting5760 when the instance has enforced a PAT expiry setting5761 behaves like PAT expiry rules are enforced5762 requires to be less or equal than the max_personal_access_token_lifetime5763 can't be blank5764 when the instance does not enforce a PAT expiry setting5765 behaves like PAT expiry rules are not enforced5766 allows expiry to be after the max_personal_access_token_lifetime5767 can be blank5768 when the feature is not available5769 behaves like PAT expiry rules are not enforced5770 allows expiry to be after the max_personal_access_token_lifetime5771 can be blank5772 .pluck_names5773 returns the names of the tokens5774 .with_invalid_expires_at5775 includes the tokens with invalid expires_at5776 doesn't include valid tokens5777 doesn't include revoked tokens5778 doesn't include expired tokens5779 .expiration_enforced??5780 behaves like enforcement of personal access token expiry5781 licensed: true, application_setting: true, result: true5782 is expected to equal true5783 licensed: true, application_setting: false, result: false5784 is expected to equal false5785 licensed: false, application_setting: true, result: true5786 is expected to equal true5787 licensed: false, application_setting: false, result: true5788 is expected to equal true5789 #expired?5790 behaves like enforcement of personal access token expiry5791 licensed: true, application_setting: true, result: true5792 is expected to equal true5793 licensed: true, application_setting: false, result: false5794 is expected to equal false5795 licensed: false, application_setting: true, result: true5796 is expected to equal true5797 licensed: false, application_setting: false, result: true5798 is expected to equal true5799 .enforce_pat_expiration_feature_available?5800 feature_flag: true, licensed: true, result: true5801 is expected to equal true5802 feature_flag: true, licensed: false, result: false5803 is expected to equal false5804 feature_flag: false, licensed: true, result: false5805 is expected to equal false5806 feature_flag: false, licensed: false, result: false5807 is expected to equal false5808 #revoke5809 clears cache on revoke access5810 after create callback5811 clears cache for the user5812IssueLink5813 callbacks5814 .after_create_commit5815 with TYPE_BLOCKS relation5816 updates blocking issues count5817 with TYPE_IS_BLOCKED_BY5818 updates blocking issues count5819 with TYPE_RELATES_TO5820 does not update blocking_issues_count5821 .after_destroy_commit5822 with TYPE_BLOCKS relation5823 updates blocking issues count5824 with TYPE_IS_BLOCKED_BY5825 updates blocking issues count5826 with TYPE_RELATES_TO5827 does not update blocking_issues_count5828 .blocked_issue_ids5829 returns only ids of issues which are blocked5830 .blocking_issue_ids_for5831 returns blocking issue ids5832 .inverse_link_type5833 returns reverse type of link5834 blocking issues count5835 .blocking_issues_for_collection5836 returns blocking issues count grouped by issue id5837 .blocked_issues_for_collection5838 returns blocked issues count grouped by issue id5839 .blocking_issues_count_for5840 returns blocked issues count for single issue5841AdjournedProjectsDeletionCronWorker5842 #perform5843 only schedules to delete projects marked for deletion before number of days from settings5844 when two projects are scheduled for deletion5845 schedules the second job 10 seconds after the first5846 marked for deletion exectly before number of days from settings5847 schedules to delete project5848 when settings are set to not-default number of days5849 only schedules to delete projects marked for deletion before number of days from settings5850EE::NamespaceStorageLimitAlertHelper5851 #display_namespace_storage_limit_alert!5852 sets @display_namespace_storage_limit_alert to true5853 #namespace_storage_usage_link5854 when namespace is a group5855 is expected to eq "/groups/group367/-/usage_quotas#storage-quota-tab"5856 when namespace is a user5857 is expected to eq "/profile/usage_quotas#storage-quota-tab"5858 #purchase_storage_url5859 is_dot_com: false, enforcement_setting_enabled: false, feature_enabled: false, result: nil5860 is expected to eq nil5861 is_dot_com: false, enforcement_setting_enabled: false, feature_enabled: true, result: nil5862 is expected to eq nil5863 is_dot_com: false, enforcement_setting_enabled: true, feature_enabled: false, result: nil5864 is expected to eq nil5865 is_dot_com: true, enforcement_setting_enabled: false, feature_enabled: false, result: nil5866 is expected to eq nil5867 is_dot_com: false, enforcement_setting_enabled: true, feature_enabled: true, result: nil5868 is expected to eq nil5869 is_dot_com: true, enforcement_setting_enabled: true, feature_enabled: false, result: nil5870 is expected to eq nil5871 is_dot_com: true, enforcement_setting_enabled: false, feature_enabled: true, result: nil5872 is expected to eq nil5873 is_dot_com: true, enforcement_setting_enabled: true, feature_enabled: true, result: "https://customers.gitlab.com/buy_storage"5874 is expected to eq "https://customers.gitlab.com/buy_storage"5875 #namespace_storage_alert5876 when payload is not empty and no cookie is set5877 is expected to eq {:alert_level=>:info, :explanation_message=>"Explanation", :root_namespace=>#<Namespace id: nil, name..._shared_runners: false, traversal_ids: [], delayed_project_removal: false>, :usage_message=>"Usage"}5878 when there is no current_user5879 is expected to eq {}5880 when payload is empty5881 is expected to eq {}5882 when cookie is set5883 is expected to eq {}5884 when payload is empty and cookie is set5885 is expected to eq {}5886 #namespace_storage_alert_style5887 alert_level: :info, result: "info"5888 is expected to eq "info"5889 alert_level: :warning, result: "warning"5890 is expected to eq "warning"5891 alert_level: :error, result: "danger"5892 is expected to eq "danger"5893 alert_level: :alert, result: "danger"5894 is expected to eq "danger"5895 #namespace_storage_alert_icon5896 alert_level: :info, result: "information-o"5897 is expected to eq "information-o"5898 alert_level: :warning, result: "warning"5899 is expected to eq "warning"5900 alert_level: :error, result: "error"5901 is expected to eq "error"5902 alert_level: :alert, result: "error"5903 is expected to eq "error"5904GithubService::StatusMessage5905 #description5906 includes human readable gitlab status5907 gets truncated to 140 chars5908 #status5909 gitlab_status: "pending", github_status: :pending5910 transforms status5911 gitlab_status: "created", github_status: :pending5912 transforms status5913 gitlab_status: "running", github_status: :pending5914 transforms status5915 gitlab_status: "manual", github_status: :pending5916 transforms status5917 gitlab_status: "success", github_status: :success5918 transforms status5919 gitlab_status: "skipped", github_status: :success5920 transforms status5921 gitlab_status: "failed", github_status: :failure5922 transforms status5923 gitlab_status: "canceled", github_status: :error5924 transforms status5925 #status_options5926 includes context5927 includes target_url5928 includes description5929 #context5930 when status context is supposed to be dynamic5931 appends pipeline reference to the status context5932 when status context is supposed to be static5933 appends instance hostname to the status context5934 .from_pipeline_data5935 builds an instance of GithubService::StatusMessage5936 builds an object with5937 sha5938 status5939 target_url5940 description5941 context5942 when pipeline is blocked5943 uses human readable status which can be used in a sentence5944 when static context has been configured5945 appends instance name to the context name5946Gitlab::Elastic::DocumentReference5947 .build5948 builds a document for an issue5949 builds a document for a project5950 .serialize5951 does nothing to a string5952 serializes a DocumentReference5953 defers to serialize_record for ApplicationRecord instances5954 defers to serialize_array for Array instances5955 fails to serialize an unrecognised value5956 .serialize_record5957 serializes an issue5958 serializes a project5959 .serialize_array5960 serializes a project array5961 serializes an issue array5962 fails to serialize a too-small array5963 fails to serialize a too-large array5964 .deserialize5965 deserializes an issue string5966 deserializes a project string5967 #initialize5968 creates an issue reference5969 creates a project reference5970 #==5971 is equal to itself5972 is equal to another ref when all elements match5973 is not equal unless the other instance class matches5974 is not equal unless db_id matches5975 is not equal unless es_id matches5976 is not equal unless es_parent matches5977 #klass_name5978 is expected to eq "Issue"5979 #database_record5980 returns an issue5981 returns a project5982 returns nil if the record cannot be found5983 raises if the class is bad5984 #serialize5985 serializes an issue5986 serializes a project5987 ::Collection5988 contains a collection of DocumentReference5989 #preload_database_records5990 preloads database records in one query per type5991ProductivityAnalyticsMergeRequestEntity5992 exposes all additional metrics5993 exposes author_avatar_url5994 exposes merge_request_url5995MergeRequestsFinder5996 #execute5997 ignores filtering by weight5998Pseudonymizer::Dumper5999 #tables_to_csv6000 with nil pseudo fields6001 outputs valid values6002 with pseudo fields6003 outputs project tables to csv6004 warns when pseudonymized fields are extraneous6005 manifest is valid6006 all tables exist6007 all whitelisted attributes exist6008 all pseudonymized attributes are whitelisted6009Mutations::Epics::AddIssue6010 #resolve6011 raises an error if the resource is not accessible to the user6012 when the user can update the epic6013 adds the issue to the epic6014 returns error if the issue is already assigned to the epic6015 returns error if issue is not found6016Banzai::Filter::LabelReferenceFilter6017 with scoped labels enabled6018 with a scoped label6019 renders scoped label6020 renders HTML tooltips6021 with a common label6022 renders common label6023 renders non-HTML tooltips6024 with scoped labels disabled6025 renders scoped label as a common label6026EE-specific project routing6027 Projects::RequirementsManagement::RequirementsController routing6028 to #index6029 Projects::VulnerabilityFeedbackController routing6030 to #index6031 to #create6032 to #destroy6033 legacy routing6034 behaves like redirecting a legacy project path6035 redirects /gitlab/gitlabhq/vulnerability_feedback to /gitlab/gitlabhq/-/vulnerability_feedback6036 Projects::PipelinesController routing6037 to #security6038 Projects::AutocompleteSourcesController routing6039 to #epics6040 Projects::ProtectedEnvironmentsController routing6041 legacy routing6042 behaves like redirecting a legacy project path6043 redirects /gitlab/gitlabhq/protected_environments to /gitlab/gitlabhq/-/protected_environments6044 Projects::AuditEventsController routing6045 legacy routing6046 behaves like redirecting a legacy project path6047 redirects /gitlab/gitlabhq/audit_events to /gitlab/gitlabhq/-/audit_events6048 Projects::Integrations::Jira::IssuesController routing6049 to #index6050Gitlab::CodeOwners::GroupsLoader6051 #load_to6052 input has no matching group paths6053 returns an empty list of groups6054 nil input6055 returns an empty relation when nil was passed6056 input matches group paths6057 returns the groups case insensitive for names6058 input matches project.group6059 returns the project's group6060 input as array of strings6061 is treated as one string6062 nested groups6063 returns nested groups by mentioned full paths6064UpdateMaxSeatsUsedForGitlabComSubscriptionsWorker6065 where the DB is read only6066 does not update max_seats_used6067 when the DB PostgreSQK AND is not read only6068 with a free plan6069 does not update max_seats_used6070 with a trial plan6071 does not update max_seats_used6072 with an early adopter plan6073 does not update max_seats_used6074 with a paid plan6075 only updates max_seats_used if active users count is greater than it6076 does not update max_seats_used if active users count is lower than it6077admin/dashboard/index.html.haml6078 when license is present6079 includes notices above license breakdown6080 includes license overview6081 includes license breakdown6082 when license is not present6083 does not show content6084ProtectedBranches::UpdateService6085 #execute6086 adds a security audit event entry6087 with invalid params6088 doesn't add a security audit event entry6089shared/mirror_update_button6090 renders a notification if the last update succeeded6091 renders no notification if the last update did not succeed6092 renders nothing if the user can't push code6093 mirror update can be triggered6094 user is owner6095 renders a working update button6096 user is developer6097 renders a disabled update button6098 user is anonymous6099 renders nothing6100 mirror update due6101 renders a disabled update button6102 mirror is currently updating6103 renders a disabled update button6104 project is not a mirror6105 renders nothing6106Gitlab::CodeOwners::Entry6107 is uniq by the pattern and owner line6108 #users6109 raises an error if no users have been added6110 returns the users in an array6111 #all_users6112 raises an error if users have not been loaded for groups6113 returns users and users from groups6114 #groups6115 raises an error if no groups have been added6116 returns mentioned groups6117 #add_matching_groups_from6118 returns only mentioned groups, case-insensitively6119 #add_matching_users_from6120 does not add the same user twice6121 raises an error when adding a user without emails preloaded6122 only adds users mentioned in the owner line6123 adds users by username, case-insensitively6124 adds users by primary email, case-insensitively6125 adds users by secondary email, case-insensitively6126Projects::Licenses::UpdatePolicyService6127 #execute6128 when the user is authorized6129 when updating a policy6130 updates the policy6131 when the classification is invalid6132 returns an error6133 when the user is not authorized6134 when updating a policy6135 returns an error6136Gitlab::Analytics::CycleAnalytics::BaseQueryBuilder6137 when the subject is `Issue`6138 loads Issue records within the given Group6139 when the subject is `MergeRequest`6140 loads MergeRequest records within the given Group6141Clusters::EnvironmentEntity6142 inherits from API::Entities::EnvironmentBasic6143 #as_json6144 with maintainer access6145 exposes logs_path6146 deploy board available6147 matches expected schema6148 exposes rollout_status6149 deploy board not available6150 matches expected schema6151 does not expose rollout_status6152 with developer access6153 exposes logs_path6154 with reporter access6155 does not expose logs_path6156Gitlab::ImportExport::Project::ObjectBuilder6157 epics6158 finds the existing epic6159 finds the existing epic in root ancestor6160 creates a new epic6161Gitlab::Auth::Smartcard::SANExtension6162 #alternate_emails6163 without SAN extensions6164 is expected to be empty6165 with SAN extensions6166 single extension6167 is expected to match [{6=>"https://gitlab.example.com"}]6168 multiple entries using ASN16169 is expected to match [{1=>"my@other.address", 6=>"1.2.3.4"}]6170 custom General Name6171 can't use custom alt names that are not part of general names6172 #email_identity6173 is expected to eq "singleEntryEmail@some.domain"6174 multiple email identity SAN entries6175 alternate name email for GitLab defined in the certificate6176 is expected to eq "newemail@some.domain"6177 inappropriate URI format6178 is expected to be nil6179 no alternate name defined to use with GitLab6180 is expected to be nil6181 when the host is partially matched to the URI6182 is expected to be nil6183ApproverGroup6184 is expected to be valid6185 .filtered_approver_groups6186 is expected to contain exactly #<ApproverGroup id: 4, target_id: 1142, target_type: "Project", group_id: 2747, created_at: "2020-08-29 16:44:53", updated_at: "2020-08-29 16:44:53">6187 when user has access to private group6188 is expected to contain exactly #<ApproverGroup id: 6, target_id: 1143, target_type: "Project", group_id: 2750, created_at: "2020-08-29 16:44:54", updated_at: "2020-08-29 16:44:54"> and #<ApproverGroup id: 7, target_id: 1143, target_type: "Project", group_id: 2749, created_at: "2020-08-29 16:44:54", updated_at: "2020-08-29 16:44:54">6189Boards::UsersFinder6190 #execute6191 when parent is a project6192 requests correct relations6193 finds ProjectMembers with MemberFinder6194 when parent is a group6195 requests correct relations6196 finds GroupMembers with GroupMemberFinder6197Gitlab::Ci::Pipeline::Chain::Limit::Activity6198 when active pipelines limit is exceeded6199 drops the pipeline6200 persists the pipeline6201 breaks the chain6202 sets a valid failure reason6203 logs the error6204 when pipeline activity limit is not exceeded6205 does not break the chain6206 does not invalidate the pipeline6207 does not log any error6208Mutations::Clusters::Agents::Delete6209 is expected to require graphql authorizations :admin_cluster6210 #resolve6211 without user permissions6212WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/graphql/mutations/clusters/agents/delete_spec.rb:27:in `block (4 levels) in <top (required)>'.6213 fails to delete the cluster agent6214 with user permissions6215 deletes a cluster agent6216 with invalid params6217WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/graphql/mutations/clusters/agents/delete_spec.rb:47:in `block (4 levels) in <top (required)>'.6218 raises an error if the cluster agent id is invalid6219EpicIssues::UpdateService6220 #execute6221 when moving issues between different epics6222 returns an error6223 does not change the relative_position values6224 moving issue to the first position6225 when some positions are close to each other6226 orders issues correctly6227 when there is enough place between positions6228 orders issues correctly6229 moving issue to the third position6230 when some positions are close to each other6231 orders issues correctly6232 when all positions are same6233 orders affected 2 issues correctly6234 when there is enough place between positions6235 orders issues correctly6236 moving issues to the last position6237 when index of the last possition is correct6238 orders issues correctly6239Security::ReportFetchService6240 #pipeline6241 with found pipeline6242 is expected to eq #<Ci::Pipeline id: 241, ref: "master", sha: "b83d6e391c22777fca1ed3012fce84f633d7fed0", before_sha: n...source_sha: nil, target_sha: nil, external_pull_request_id: nil, ci_ref_id: 202, locked: "unlocked">6243 without any pipelines6244 is expected to be nil6245 #build6246 with right artifacts6247 is expected to eq #<Ci::Build id: 223, status: "success", finished_at: "2020-08-29 08:53:29", trace: nil, created_at: "...up_id: nil, waiting_for_resource_at: nil, processed: false, scheduling_type: "stage", tag_list: nil>6248 without right kind of artifacts6249 is expected to be nil6250 without found pipeline6251 is expected to be nil6252 #able_to_fetch?6253 with successful build6254 is expected to be truthy6255 with failed build6256 is expected to be falsey6257 without build6258 is expected to be falsey6259Gitlab::Auth::GroupSaml::FailureHandler6260 calls Groups::OmniauthCallbacksController#failure for GroupSaml6261 falls back to parent on_failure handler6262QuickActions::TargetService6263 #execute6264 for epic6265 finds target with valid id6266 builds a new target if id from a different group passed6267Banzai::Filter::CrossProjectIssuableInformationFilter6268 when the user cannot read cross project6269 skips links to issues within the same project6270 removes info from a cross project reference6271Peek::Views::Elasticsearch6272 #results6273 includes performance details6274EE::ServicesHelper6275 #integration_form_data6276 Slack service6277 does not include Jira specific fields6278 Jira service6279 includes Jira specific fields6280 #add_to_slack_link6281 encodes a masked CSRF token6282EE::MembersPreloader6283 #preload_all6284 preloads SAML identities to avoid N+1 queries in MembersPresenter6285Milestones::BurnupChartService6286 when license is not available6287 returns an error message6288 when license is available6289 returns an error when the number of events exceeds the limit6290 aggregates events before the start date to the start date6291 updates counts and weight when the milestone is added or removed6292 updates the completed counts when issue state is changed6293 updates the weight totals when issue weight is changed6294 when milestone does not have a start and due date6295 returns an error message6296Operations::FeatureFlagsClient6297 associations6298 is expected to belong to project required:6299 validations6300 is expected to validate that :project cannot be empty/falsy6301 #token6302 ensures that token is always set6303AdjournedProjectDeletionWorker6304 #perform6305 executes destroying project6306 stops execution if user was deleted6307Clusters::Agents::DeleteService6308 #execute6309 without user permissions6310WARNING: Using `expect { }.not_to raise_error(SpecificErrorClass)` risks false positives, since literally any other error would cause the expectation to pass, including those raised by Ruby (e.g. NoMethodError, NameError and ArgumentError), meaning the code you are intending to test may not even get reached. Instead consider using `expect { }.not_to raise_error` or `expect { }.to raise_error(DifferentSpecificErrorClass)`. This message can be suppressed by setting: `RSpec::Expectations.configuration.on_potential_false_positives = :nothing`. Called from /builds/gitlab-org/gitlab/ee/spec/services/clusters/agents/delete_service_spec.rb:20:in `block (4 levels) in <top (required)>'.6311 fails to delete when the user has no permissions6312 with user permissions6313 deletes a cluster agent6314SamlProviderPolicy6315 with a user6316 allows access to public groups6317 allows access to private groups6318 with a token actor6319 valid token6320 allows access to public groups6321 allows access to private groups6322 invalid or missing token6323 allows anonymous access to public groups6324 prevents access to private groups6325 without a user or actor6326 allows access to public groups6327 prevents access to private groups6328DescriptionVersion6329 associations6330 is expected to belong to epic required:6331 validations6332 is valid when epic_id is set6333 #previous_version6334 returns the previous version for the same issuable6335 #delete!6336 expires issuable etag cache6337 when start_id is not present6338 only delayed deletes description_version6339 when start_id is present6340 delayed deletes description versions of same issuable up to start_id6341Gitlab::Verify::Uploads6342 includes uploads in object storage6343EE::Audit::ProjectFeatureChangesAuditor6344 #execute6345 creates an event when any project feature level changes6346Users::CreateService6347 #execute6348 audit events6349 when licensed6350 does not log audit event if operation fails6351 when operation succeeds6352 logs an audit event6353 logs the audit event info6354 when not licensed6355 does not log audit event6356 when audit is not required6357 does not log any audit event6358Gitlab::Ci::Parsers::LicenseCompliance::LicenseScanning6359 #parse!6360 when parsing a valid v1 report6361 is expected to eql "1.0"6362 is expected to eq 46363 is expected to eql "Apache 2.0"6364 is expected to eql "http://www.apache.org/licenses/LICENSE-2.0.txt"6365 is expected to equal 16366 is expected to equal 16367 is expected to eql "thread_safe"6368 is expected to eql "MIT"6369 is expected to eql "http://opensource.org/licenses/mit-license"6370 is expected to equal 526371 is expected to equal 526372 is expected to eql "actioncable"6373 is expected to eql "New BSD"6374 is expected to eql "http://opensource.org/licenses/BSD-3-Clause"6375 is expected to equal 36376 is expected to equal 36377 is expected to contain exactly "ffi", "puma", and "sqlite3"6378 is expected to eql "unknown"6379 is expected to be nil6380 is expected to equal 16381 is expected to equal 16382 is expected to eql "ruby-bundler-rails"6383 when parsing a valid v1.1 report6384 is expected to eql "1.1"6385 is expected to eq 36386 is expected to eql "BSD-4-Clause"6387 is expected to eql "BSD"6388 is expected to eql "http://spdx.org/licenses/BSD-4-Clause.json"6389 is expected to equal 26390 is expected to equal 26391 is expected to contain exactly "b" and "c"6392 is expected to eql "MIT"6393 is expected to eql "MIT"6394 is expected to eql "http://opensource.org/licenses/mit-license"6395 is expected to equal 26396 is expected to equal 26397 is expected to contain exactly "a" and "c"6398 is expected to be nil6399 is expected to eql "unknown"6400 is expected to eql ""6401 is expected to equal 16402 is expected to equal 16403 is expected to contain exactly "d"6404 when parsing a valid v2 report6405 is expected to eql "2.0"6406 is expected to eq 36407 is expected to eql "BSD-3-Clause"6408 is expected to eql "BSD 3-Clause \"New\" or \"Revised\" License"6409 is expected to eql "http://spdx.org/licenses/BSD-3-Clause.json"6410 is expected to equal 26411 is expected to equal 26412 is expected to contain exactly "b" and "c"6413 is expected to eql "MIT"6414 is expected to eql "MIT License"6415 is expected to eql "http://spdx.org/licenses/MIT.json"6416 is expected to equal 26417 is expected to equal 26418 is expected to contain exactly "a" and "c"6419 is expected to be nil6420 is expected to eql "unknown"6421 is expected to eql ""6422 is expected to equal 16423 is expected to equal 16424 is expected to contain exactly "d"6425 when parsing a valid v2.1 report6426 is expected to eql "2.1"6427 is expected to eq 36428 parses the BSD license6429 parses the MIT license6430 parses an unknown license6431 when parsing a v2 report with a missing license definition6432 is expected to equal 16433 is expected to eql "MIT"6434 is expected to eql "unknown"6435 is expected to equal 16436 is expected to eql "saml-kit"6437 when the report version is not recognized6438 is expected to raise KeyError6439 when the report version is missing6440 is expected to eq "1.0"6441 is expected to be empty6442 when the report version is nil6443 is expected to eq "1.0"6444 is expected to be empty6445 when the report version is blank6446 is expected to eq "1.0"6447 is expected to be empty6448 when the report is structured as an array6449 is expected to be empty6450 when the report is not a valid JSON document6451 is expected to eql "1.0"6452 is expected to be empty6453Projects::SlackApplicationInstallService6454 returns error result6455 returns success result and creates all the needed records6456projects/dast_profiles/index6457 renders Vue app root6458 passes new dast site profile path6459 passes project's full path6460Resolvers::ComplianceFrameworksResolver6461 #resolve6462 when a project has a compliance framework set6463 includes the name of the compliance frameworks6464 when a project has no compliance framework set6465 is an empty array6466NamespaceSetting6467 #prevent_forking_outside_group?6468 with feature available6469 group with no associated saml provider6470 returns namespace setting6471 group with associated saml provider6472 when it is configured to true on saml level6473 returns true6474 when it is configured to false on saml level6475 returns false6476 when setting is configured on namespace level6477 returns namespace setting6478 without feature available6479 returns false6480 when saml setting is available6481 when it is configured to true on saml level6482 returns true6483 when it is configured to false on saml level6484 returns false6485EpicsHelper6486 #epic_new_app_data6487 returns the correct data for a new epic6488 #epic_endpoint_query_params6489 includes Epic specific options in JSON format6490 includes data provided in param6491 #epic_state_dropdown_link6492 returns the active link when selected state is same as the link6493 returns the non-active link when selected state is different from the link6494 #epic_state_title6495 returns "Open" when the state is opened6496 returns humanized string when the state is other than opened6497 #epic_timeframe6498 when both dates are from the same year6499 returns start date with year omitted and end date with year6500 when both dates are from different years6501 returns start date with year omitted and end date with year6502 when only start date is present6503 returns start date with year6504 when only end date is present6505 returns end date with year6506DependencyProxy::Blob6507 relationships6508 is expected to belong to group required:6509 validations6510 is expected to validate that :group cannot be empty/falsy6511 is expected to validate that :file cannot be empty/falsy6512 is expected to validate that :file_name cannot be empty/falsy6513 .total_size6514 returns 0 if no files6515 returns a correct sum of all files sizes6516 .find_or_build6517 builds new instance if not found6518 finds an existing blob6519 file is being stored6520 when existing object has local store6521 behaves like mounted file in local store6522 is stored locally6523 when direct upload is enabled6524 behaves like mounted file in object store6525 is stored remotely6526DependencyListSerializer6527 #to_json6528 matches the schema6529Types::InstanceSecurityDashboardType6530 is expected to have graphql fields :projects, :vulnerability_scanners, and :vulnerability_grades6531 projects6532 when user is not logged in6533 is expected to be nil6534 when user is logged in6535 is a list of projects configured for instance security dashboard6536Boards::UserPreferences::UpdateService6537 #execute6538 when user is not present6539 does not create user preference record6540 when user is present6541 when there is no user preference6542 creates user preference6543 when there is an user preference6544 does not duplicate user preference6545 does not update user_id6546 does not update board_id6547Commits::CreateService6548 #execute6549 raises an error if the repositoy exceeds the size limit6550admin/licenses/show.html.haml6551 when trial license is present6552 shows content as expected6553 when non trial license is present6554 shows content as expected6555 when license is not present6556 does not show content6557 when licenses are present6558 shows content as expected6559 when licenses are empty6560 does not show content6561 when licenses are not defined6562 does not show content6563compliance_management/compliance_framework/_compliance_framework_badge.html.haml6564 when show6565 renders a badge6566 when not show6567 does not render any badge6568EE::AuditEvents::ReleaseArtifactsDownloadedAuditEventService6569 #security_event6570 logs the event to file6571EE::ResourceEvents::SyntheticWeightNotesBuilderService6572 #execute6573 returns the expected synthetic notes6574EE::GitlabRoutingHelper6575 #geo_primary_web_url6576 generates a path to the project6577 generates a path to the wiki6578 #geo_primary_default_url_to_repo6579 HTTP6580 project6581 is expected to eq "http://localhost:123/relative/foo/bar.git"6582 wiki6583 is expected to eq "http://localhost:123/relative/foo/bar.wiki.git"6584 HTTPS6585 project6586 is expected to eq "https://localhost:123/relative/foo/bar.git"6587 wiki6588 is expected to eq "https://localhost:123/relative/foo/bar.wiki.git"6589 SSH6590 project6591 is expected to eq "git@localhost:foo/bar.git"6592 wiki6593 is expected to eq "git@localhost:foo/bar.wiki.git"6594 #license_management_settings_path6595 generates a path to the license compliance page6596 #user_group_saml_omniauth_metadata_path6597 uses metadata path6598 appends group path and token6599 #user_group_saml_omniauth_metadata_url6600 creates full metadata URL6601 #upgrade_plan_path6602 when the group is present6603 returns the group billing path6604 when the group is blank6605 returns the profile billing path6606InstanceSecurityDashboardPolicy6607 read_instance_security_dashboard6608 when the user is not logged in6609 is expected not to be allowed :read_instance_security_dashboard6610 when the user is logged in6611 is expected to be allowed :read_instance_security_dashboard6612 create_vulnerability_export6613 when the user is not logged in6614 is expected not to be allowed :create_vulnerability_export6615 when the user is logged in6616 is expected to be allowed :create_vulnerability_export6617admin/users/index6618 includes "Send email to users" link6619 when Gitlab::CurrentSettings.should_check_namespace_plan is true6620 includes "Send email to users" link6621CreateGithubWebhookWorker6622 #perform6623 creates the webhook6624NetworkPolicies::ResourcesService6625 #execute6626 returns success response with policies from the deployment namespace6627 without deployment_platform6628 returns error response6629 with Kubeclient::HttpError6630 returns error response6631FeatureFlagsClientSerializer6632 #represent_token6633 includes feature flags client token6634Gitlab::Auth::Smartcard::SessionEnforcer6635 #update_session6636 stores the time of last sign-in in session6637 #access_restricted?6638 with a smartcard session6639 is expected to be falsey6640 without any session6641 is expected to be truthy6642 with the setting off6643 is expected to be falsey6644 with smartcard auth disabled6645 is expected to be falsey6646 without a license6647 is expected to be falsey6648Gitlab::ObjectHierarchy6649 #root6650 includes only the roots6651 when quering parent it includes parent6652gitlab:rake tasks6653 import6654 with successful download of the catalogue6655 saves the catalogue to the file6656 when downloaded catalogue is broken6657 raises parsing failure6658 with network failure6659 raises network failure error6660Vulnerabilities::IdentifierEntity6661 #as_json6662 contains required fields6663Gitlab::Auth::GroupSaml::TokenActor6664 valid token6665 is valid for the group6666 invalid token6667 is invalid for the group6668 missing token6669 is invalid for the group6670 when geo prevents saml_provider from having a token6671 prevents nil token from allowing access6672LicenseScanningReportLicenseEntity6673 #as_json6674 emits the correct approval_status6675 contains the correct dependencies6676Gitlab::Database::LoadBalancing6677 .proxy6678 when configured6679 returns the connection proxy6680 when not configured6681 returns nil6682 tracks an error to sentry6683 .configuration6684 returns a Hash6685 .max_replication_difference6686 without an explicitly configured value6687 returns the default value6688 with an explicitly configured value6689 returns the configured value6690 .max_replication_lag_time6691 without an explicitly configured value6692 returns the default value6693 with an explicitly configured value6694 returns the configured value6695 .replica_check_interval6696 without an explicitly configured value6697 returns the default value6698 with an explicitly configured value6699 returns the configured value6700 .hosts6701 returns a list of hosts6702 .pool_size6703 returns a Fixnum6704 .enable?6705 returns false when no hosts are specified6706 returns false when Sidekiq is being used6707 returns false when running inside a Rake task6708 returns true when load balancing should be enabled6709 returns true when service discovery is enabled6710 without a license6711 is disabled6712 with an EES license6713 is disabled6714 with an EEP license6715 is enabled6716 .program_name6717 returns a String6718 .configure_proxy6719 configures the connection proxy6720 .active_record_models6721 returns an Array6722 .service_discovery_enabled?6723 returns true if service discovery is enabled6724 returns false if service discovery is disabled6725 .service_discovery_configuration6726 when no configuration is provided6727 returns a default configuration Hash6728 when configuration is provided6729 returns a Hash including the custom configuration6730 .start_service_discovery6731 does not start if service discovery is disabled6732 starts service discovery if enabled6733Gitlab::Mirror6734 #configure_cron_job!6735 with jobs already running6736 creates a new cron job6737 without jobs already running6738 creates update_all_mirrors_worker6739 when Geo is enabled6740 disables mirror cron job6741 #max_mirror_capacity_reached?6742 returns true if available capacity is 06743 returns false if available capacity is not 06744 #reschedule_immediately?6745 when available capacity exceeds the defined threshold6746 returns true6747 when the availabile capacity is lower than the defined threshold6748 returns false6749 #available_capacity6750 when redis key does not exist6751 returns mirror_max_capacity6752 when redis key exists6753 returns available capacity6754 #increment_capacity6755 increments capacity6756 #decrement_capacity6757 with capacity above 06758 decrements capacity6759 with non-existent id6760 does not decrement capacity6761 #max_delay6762 returns max delay with some jitter6763 #min_delay6764 returns min delay with some jitter6765Gitlab::IssuableMetadata6766 issues6767 aggregates stats on issues6768 when blocking_issues_counts feature flag is disabled6769 does not return blocking_issues_counts6770EE::Gitlab::Ci::Pipeline::Quota::Size6771 #enabled?6772 when limit is enabled in plan6773 is enabled6774 when limit is not enabled6775 is not enabled6776 when limit does not exist6777 is not enabled6778 #exceeded?6779 when limit is exceeded6780 is exceeded6781 when limit is not exceeded6782 is not exceeded6783 #message6784 when limit is exceeded6785 returns infor about pipeline size limit exceeded6786Keys::CreateService6787 creates6788Analytics::CycleAnalytics::GroupValueStream6789 associations6790 is expected to belong to group required:6791 is expected to have many stages6792 validations6793 is expected to validate that :group cannot be empty/falsy6794 is expected to validate that :name cannot be empty/falsy6795 is expected to validate that the length of :name is at most 1006796 validates uniqueness of name6797Elastic::ProcessBookkeepingService6798 .track6799 enqueues a record6800 enqueues a set of unique records6801 enqueues 10 identical records as 1 entry6802 deduplicates across multiple inserts6803 .queue_size6804 reports the queue size6805 .clear_tracking!6806 removes all entries from the queue6807 #execute6808 submits a batch of documents6809 returns the number of documents processed6810 returns 0 without writing to the index when there are no documents6811 retries failed documents6812 discards malformed documents6813 fails, preserving documents, when processing fails with an exception6814Mutations::Namespaces::IncreaseStorageTemporarily6815 #resolve6816 when user is not the admin of the namespace6817 raises a not accessible error6818 when the user can admin the namespace6819 sets temporary_storage_increase_ends_on6820Gitlab::Ci::YamlProcessor6821 Bridge Needs6822 needs upstream pipeline6823 creates jobs with valid specification6824 needs both job and pipeline6825 creates jobs with valid specification6826 needs cross projects artifacts6827 creates jobs with valid specification6828 needs cross projects artifacts and pipelines6829 returns errors6830 with invalid needs cross projects artifacts6831 returns errors6832 Secrets6833 returns secrets info6834Ci::Minutes::Quota6835 #monthly_minutes_report6836 when unlimited6837 when minutes are not used6838 returns unlimited report with no usage6839 when minutes are used6840 returns unlimited report with usage6841 when limited6842 when minutes are not all used6843 returns report with under quota6844 when minutes are all used6845 returns report with over quota6846 #purchased_minutes_report6847 when limit enabled6848 when extra minutes have been purchased6849 when all monthly minutes are used and some puarchased minutes are used6850 returns report with under quota6851 when all monthly and all puarchased minutes have been used6852 returns report with over quota6853 when not all monthly minutes have been used6854 returns report with no usage6855 when no extra minutes have been purchased6856 when all monthly minutes have been used6857 returns report without usage6858 when not all monthly minutes have been used6859 returns report with no usage6860 #monthly_percent_used6861 limit_enabled: false, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 0, title: "limit not enabled"6862 returns the percentage6863 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 0, result: 0, title: "monthly limit set and no usage"6864 returns the percentage6865 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 20, title: "monthly limit set and usage lower than 100%"6866 returns the percentage6867 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 200, result: 100, title: "monthly limit set and usage at 100%"6868 returns the percentage6869 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 210, result: 105, title: "monthly limit set and usage above 100%"6870 returns the percentage6871 limit_enabled: true, monthly_limit: 0, purchased_limit: 0, minutes_used: 0, result: 0, title: "monthly limit not set and no usage"6872 returns the percentage6873 limit_enabled: true, monthly_limit: 0, purchased_limit: 0, minutes_used: 40, result: 0, title: "monthly limit not set and some usage"6874 returns the percentage6875 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 0, result: 0, title: "monthly and purchased limits set and no usage"6876 returns the percentage6877 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 40, result: 20, title: "monthly and purchased limits set and low usage"6878 returns the percentage6879 limit_enabled: true, monthly_limit: 200, purchased_limit: 100, minutes_used: 210, result: 100, title: "usage capped to 100% and overflows into purchased minutes"6880 returns the percentage6881 #purchased_percent_used6882 limit_enabled: false, monthly_limit: 0, purchased_limit: 0, minutes_used: 40, result: 0, title: "limit not enabled"6883 returns the percentage6884 limit_enabled: true, monthly_limit: 0, purchased_limit: 200, minutes_used: 40, result: 20, title: "monthly limit not set and purchased limit set and low usage"6885 returns the percentage6886 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 40, result: 0, title: "monthly limit set and purchased limit not set and usage below monthly"6887 returns the percentage6888 limit_enabled: true, monthly_limit: 200, purchased_limit: 0, minutes_used: 240, result: 0, title: "monthly limit set and purchased limit not set and usage above monthly"6889 returns the percentage6890 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 0, result: 0, title: "monthly and purchased limits set and no usage"6891 returns the percentage6892 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 40, result: 0, title: "monthly and purchased limits set and usage below monthly"6893 returns the percentage6894 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 200, result: 0, title: "monthly and purchased limits set and monthly minutes maxed out"6895 returns the percentage6896 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 300, result: 50, title: "monthly and purchased limits set and some purchased minutes used"6897 returns the percentage6898 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 400, result: 100, title: "monthly and purchased limits set and all minutes used"6899 returns the percentage6900 limit_enabled: true, monthly_limit: 200, purchased_limit: 200, minutes_used: 430, result: 115, title: "monthly and purchased limits set and usage beyond all limits"6901 returns the percentage6902admin/push_rules/_merge_request_approvals6903 shows settings form6904 when show compliance merge request approval settings6905 shows compliance framework content6906 when not show compliance merge request approval settings6907 shows non-compliance framework content6908Gitlab::Alerting::NotificationPayloadParser6909 .call6910 fingerprint6911 license feature enabled6912 generates the fingerprint from the payload6913 payload has no values6914 is expected to eq nil6915 license feature not enabled6916 is expected to eq nil6917GithubService::StatusNotifier6918 #notify6919 uses GitHub API to update status6920 passes optional params6921 uses access token6922 with blank api_endpoint6923 defaults to using GitHub.com API6924 with custom api_endpoint6925 uses provided API for requests6926StatusPage::IncidentsFinder6927 #find_by_id6928 without params6929 for published issue6930 is expected to eq #<Issue id:194 namespace2160/project2098#1>6931 for confidential issue6932 is expected to eq #<Issue id:197 namespace2160/project2098#4>6933 for nonpublished issue6934 is expected to eq #<Issue id:196 namespace2160/project2098#3>6935 for unrelated issue6936 is expected to be nil6937 with include_nonpublished6938 for nonpublished issue6939 is expected to be nil6940 for confidential issue6941 is expected to be nil6942 #all6943 when limit is higher than the colletion size6944 is expected to eq [#<Issue id:195 namespace2160/project2098#2>, #<Issue id:194 namespace2160/project2098#1>]6945 when limit is lower than the colletion size6946 is expected to eq [#<Issue id:195 namespace2160/project2098#2>]6947 when combined with other finder methods6948 is expected to eq [#<Issue id:195 namespace2160/project2098#2>, #<Issue id:194 namespace2160/project2098#1>]6949Vulnerabilities::HistoricalStatistics::AdjustmentService6950 .execute6951 instantiates the service object for given project ids and calls `execute` on them6952 #execute6953 when more than 1000 projects is provided6954 raises error6955 when there is no vulnerability_statistic record for project6956 does not create a new record in database6957 when there is vulnerability_statistic record for project6958 when there is no vulnerability_historical_statistic record for project6959 creates a new record6960 sets the correct values for the record6961 when there is already a vulnerability_historical_statistic record for project6962 does not create a new record in database6963 sets the correct values for the record6964ScimOauthAccessTokenEntity6965 exposes the URL6966 exposes the token6967Analytics::ProductivityAnalyticsRequestParams6968 validations6969 is valid6970 `merged_at` params6971 when `merged_before` is earlier than `merged_after`6972 is invalid6973 when `merged_after` is earlier than `productivity_analytics_start_date`6974 is invalid6975 when `merged_before` is earlier than `productivity_analytics_start_date`6976 is invalid6977 default values6978 `merged_before`6979 defaults to today date6980 `merged_after`6981 when `productivity_analytics_start_date` is within the last 30 days6982 defaults to `productivity_analytics_start_date`6983 when `productivity_analytics_start_date` older than 30 days6984 defaults to 30 days ago6985AdjournedGroupDeletionWorker6986 #perform6987 only schedules to delete groups marked for deletion on or before the specified `deletion_adjourned_period`6988 does not schedule to delete a group not marked for deletion6989 does not schedule to delete a group that is marked for deletion after the specified `deletion_adjourned_period`6990Projects::Licenses::CreatePolicyService6991 #execute6992 when creating a policy for a software license by the software license database id6993 creates a new policy6994 when creating a policy for a software license by the software license SPDX identifier6995 creates a new policy6996 when the software license is not specified6997 returns an error6998 when the classification is invalid6999 returns an error7000Keys::DestroyService7001 does not destroy LDAP key7002GroupSaml::SamlProvider::CreateService7003 updates SAML provider with given params7004World7005 .all_countries7006 does not return countries that are in the denied list7007 .countries_for_select7008 returns list of country name and iso_code in alphabetical format7009 .states_for_country7010 returns a list of state names for a country in alphabetical order7011 returns nil when given country cannot be found7012 .alpha3_from_alpha27013 returns the three letter abbreviated country name7014 returns nil when given country cannot be found7015Gitlab::Graphql::Aggregations::Epics::EpicNode7016 #initialize7017 behaves like setting attributes based on the first record7018 sets epic attributes based on the first record7019 behaves like setting attributes based on the first record7020 sets epic attributes based on the first record7021 recursive totals7022 an epic with no child epics7023 with no child issues7024 has the correct aggregates7025 behaves like has_issues?7026 returns false7027 with an issue with 0 weight7028 has the correct aggregates7029 behaves like has_issues?7030 returns true7031 with an open issue with nonzero weight7032 has the correct aggregates7033 behaves like has_issues?7034 returns true7035 with a closed issue with nonzero weight7036 behaves like has_issues?7037 returns true7038 an epic with child epics7039 with a child that has issues of nonzero weight7040 has the correct aggregates7041 behaves like has_issues?7042 returns false7043projects/dast_site_profiles/edit7044 renders Vue app root7045 passes project's full path7046 passes DAST profiles library URL7047 passes DAST site profile's data7048Security::Scan7049 associations7050 is expected to belong to build required:7051 is expected to have one pipeline class_name => Ci::Pipeline through build7052 validations7053 is expected to validate that :build_id cannot be empty/falsy7054 is expected to validate that :scan_type cannot be empty/falsy7055 behaves like having unique enum values7056 has unique values in "scan_type"7057ElasticClusterReindexingCronWorker7058 #perform7059 calls execute method7060 removes old indices if no task is found7061NotificationSetting7062 .email_events7063 group7064 appends EE specific events7065 project7066 returns CE list7067 global7068 appends EE specific events7069Security::Configuration::SaveAutoFixService7070 #execute7071 with supported scanner type7072 changes setting7073 with all scanners7074 changes setting7075 with not supported scanner type7076 does not change setting7077ProjectRepositoryState7078 assocations7079 is expected to belong to project required: inverse_of => repository_state7080 validations7081 is expected to validate that :project cannot be empty/falsy7082 is expected to validate that :project is case-sensitively unique7083GroupDeletionSchedule7084 Associations7085 is expected to belong to group required:7086 is expected to belong to deleting_user class_name => User required:7087 Validations7088 is expected to validate that :marked_for_deletion_on cannot be empty/falsy7089EE::Gitlab::Scim::ValueParser7090 #type_cast7091 input: "True", expected_output: true7092 is expected to eq true7093 input: "true", expected_output: true7094 is expected to eq true7095 input: "False", expected_output: false7096 is expected to eq false7097 input: "false", expected_output: false7098 is expected to eq false7099 input: "\"Quoted String\"", expected_output: "Quoted String"7100 is expected to eq "Quoted String"7101 input: true, expected_output: true7102 is expected to eq true7103 input: false, expected_output: false7104 is expected to eq false7105 input: 123, expected_output: 1237106 is expected to eq 1237107Gitlab::Kubernetes::Deployment7108 #name7109 is expected to eq :selected7110 #labels7111 is expected to eq :selected7112 #outdated?7113 when outdated7114 is expected to be truthy7115 when up to date7116 is expected to be falsy7117 when ahead of latest7118 is expected to be falsy7119 #instances7120 when unnamed7121 returns all pods with generated names and pending7122 when number of pods is less than wanted replicas7123 returns not spawned pods as pending and unknown and running7124 when outdated7125 returns all instances as named and waiting7126 with pods of each type7127 returns all instances7128 with track label7129 when marked as stable7130 returns all instances7131 when marked as canary7132 returns all instances7133MergeRequestSerializer7134 compliance_dashboard merge request serialization7135 includes compliance_dashboard attributes7136Gitlab::GlRepository::RepoType7137 #<Gitlab::GlRepository::RepoType:0x000056379f6ce2b0>7138 group wiki7139 behaves like a repo type7140 #identifier_for_container7141 is expected to eq "group-2955-wiki"7142 #path_suffix7143 is expected to eq ".wiki"7144 #repository_for7145 finds the repository for the repo type7146Pseudonymizer::Uploader7147 #upload7148 upload all file in the directory7149 #cleanup7150 cleans the directory7151Gitlab::Insights::Validators::ParamsValidator7152 :type7153 with type: 'bar'7154 does not raise an error7155 with type: 'line'7156 does not raise an error7157 with type: 'stacked-bar'7158 does not raise an error7159 with type: 'pie'7160 does not raise an error7161 with an invalid :type7162 raises an error7163 :projects7164 when projects is an array7165 raises an error7166 when projects is a hash, having `only` with an integer7167 raises an error7168 when projects is a hash, having `only` with an array7169 does not raise an error7170IterationsUpdateStatusWorker7171 #perform7172 when iterations are in `upcoming` state7173 updates the status of iterations that require it7174 when iterations are in `started` state7175 updates from started to closed when due date is past7176Gitlab::Analytics::CycleAnalytics::StageEvents::IssueLastEdited7177 behaves like cycle analytics event7178 is expected to be a kind of String7179 is expected to be a kind of Symbol7180 is expected to include ApplicationRecord(abstract)7181 is expected to respond to #timestamp_projection7182 is expected to be a kind of Array7183 #apply_query_customization7184 expects an ActiveRecord::Relation object as argument and returns a modified version of it7185Gitlab::Analytics::CycleAnalytics::StageEvents::IssueFirstAddedToBoard7186 behaves like cycle analytics event7187 is expected to be a kind of String7188 is expected to be a kind of Symbol7189 is expected to include ApplicationRecord(abstract)7190 is expected to respond to #timestamp_projection7191 is expected to be a kind of Array7192 #apply_query_customization7193 expects an ActiveRecord::Relation object as argument and returns a modified version of it7194Gitlab::StatusPage::Filter::ImageFilter7195 .call7196 is expected to eq "data/incident/1/50b7a196557cf72a98e86a7ab4b1ac3b/tanuki.png"7197 is expected to eq "gl-image"7198 is expected to eq "data/incident/1/50b7a196557cf72a98e86a7ab4b1ac3b/tanuki.png"7199 when no issue_iid key7200 raises error7201 when issue_iid is nil7202 raises error7203 no image tags in original html7204 is expected to eq "<a href=\"hello/world\"></a>"7205Gitlab::IpAddressState7206 .with7207 saves IP address7208 clears IP address after execution7209 clears IP address after execution even when exception occurred7210 .set_address7211 saves IP address7212 .nullify_address7213 clears IP address7214Gitlab::Regex7215 .feature_flag_regex7216 is expected to match "foo"7217 is expected to match "f_feature_flag"7218 is expected not to match "MY_FEATURE_FLAG"7219 is expected not to match "my feature flag"7220 is expected not to match "!!()()"7221ElasticIndexBulkCronWorker7222 .perform7223 adds the elastic_bulk_count to the done log7224 indexing is not paused7225 executes the service under an exclusive lease7226 indexing is paused7227 does nothing if indexing is paused7228Gitlab::Ci::Reports::Metrics::ReportsComparer7229 #new_metrics7230 reports new metrics7231 #existing_metrics7232 reports existing metrics7233 when existing metric changes7234 sets previous value7235 #removed_metrics7236 reports removed metrics7237Constraints::JiraEncodedUrlConstrainer7238 #matches?7239 when there is no /-/jira prefix and no encoded slash7240 is expected to eq false7241 when tree path contains encoded slash7242 is expected to eq false7243 when path has /-/jira prefix7244 is expected to eq true7245 when project_id has encoded slash7246 is expected to eq true7247NetworkPolicies::DeleteResourceService7248 #execute7249 deletes resource from the deployment namespace and returns success response7250 without deployment_platform7251 returns error response7252 with Kubeclient::HttpError7253 returns error response7254EE::API::Entities::Scim::Error7255 contains the schemas7256 contains the detail7257 contains the status7258Gitlab::UsageCounters::DependencyList7259 behaves like a usage counter7260 .increment7261 intializes and increments the counter for the project by 17262 .usage_totals7263 when the feature has not been used7264 returns the total counts and counts per project7265 when the feature has been used in multiple projects7266 returns the total counts and counts per project7267EE::VersionCheckHelper7268 #link_to_version7269 for a pre-release7270 links to an ee-commit7271 for a normal release7272 links to an ee-tag7273PersonalAccessTokens::Groups::UpdateLifetimeService7274 #execute7275 when we can obtain the lease7276 schedules the worker7277 when we can't obtain the lease7278 does not schedule the worker7279EE::API::Entities::Scim::NotFound7280 contains the schemas7281 contains the detail7282 contains the status7283MergeRequestsHelper7284 #render_items_list7285 returns one item in the list7286 returns two items in the list7287 returns three items in the list7288Gitlab::GlRepository7289 .parse7290 parses a group wiki gl_repository7291Elastic::Latest::ProjectWikiInstanceProxy7292 #elastic_search_as_wiki_page7293 provides repository_id if not provided7294 uses provided repository_id7295EE::Gitlab::Auth::Ldap::AccessLevels7296 #set7297 when access_levels is empty7298 is expected to eq {"uid=janedoe,ou=users,dc=example,dc=com"=>30, "uid=johndoe,ou=users,dc=example,dc=com"=>30}7299 when access_hash has existing entries7300 keeps the higher of all access values7301Gitlab::Proxy7302 .detect_proxy7303 without any existing proxies7304 returns an empty array7305 with existing proxies7306 returns a list of existing proxies7307Gitlab::Audit::Levels::Project7308 #apply7309 finds all project events7310Gitlab::GlRepository::Identifier7311 group wiki7312 behaves like parsing gl_repository identifier7313 returns correct information7314Types::BurnupChartDailyTotalsType7315 is expected to eq "BurnupChartDailyTotals"7316 has specific fields7317Gitlab::Ci::Reports::Metrics::Report7318 #add_metric7319 stores given metric7320 correctly stores metric params7321Types::PermissionTypes::Epic7322 is expected to have graphql field :award_emoji7323Types::VulnerabilitySeveritiesCountType7324 is expected to have graphql fields "info", "unknown", "low", "medium", "high", and "critical"7325Types::PermissionTypes::Vulnerability7326 is expected to have graphql field :admin_vulnerability_issue_link7327EE::ApplicationSettingsHelper7328 .visible_attributes7329 personal access token parameters7330 is expected to include :max_personal_access_token_lifetime and :enforce_pat_expiration7331Types::BoardListType7332 has specific fields7333Types::Vulnerability::IssueLinkTypeEnum7334 is expected to contain exactly "RELATED" and "CREATED"7335Types::VulnerabilitySeverityEnum7336 exposes all vulnerability severities7337Knapsack report was generated. Preview:7338{7339 "ee/spec/models/project_spec.rb": 85.79345512390137,7340 "ee/spec/services/search/snippet_service_spec.rb": 52.69577240943909,7341 "ee/spec/serializers/ee/job_entity_spec.rb": 29.55310082435608,7342 "ee/spec/models/merge_train_spec.rb": 21.569037199020386,7343 "ee/spec/models/user_spec.rb": 18.515227794647217,7344 "ee/spec/services/merge_trains/refresh_merge_requests_service_spec.rb": 14.78494644165039,7345 "ee/spec/services/epics/issue_promote_service_spec.rb": 11.23961067199707,7346 "ee/spec/lib/gitlab/template/custom_templates_spec.rb": 15.512752056121826,7347 "ee/spec/views/admin/application_settings/_elasticsearch_form.html.haml_spec.rb": 12.755580425262451,7348 "ee/spec/models/ci/build_spec.rb": 12.61452841758728,7349 "ee/spec/services/ci/create_pipeline_service/cross_needs_artifacts_spec.rb": 6.615269899368286,7350 "ee/spec/services/projects/group_links/create_service_spec.rb": 6.197745084762573,7351 "ee/spec/finders/epics_finder_spec.rb": 7.516864061355591,7352 "ee/spec/services/ci/register_job_service_spec.rb": 6.540843725204468,7353 "ee/spec/services/dashboard/projects/list_service_spec.rb": 8.78779911994934,7354 "ee/spec/lib/gitlab/legacy_github_import/project_creator_spec.rb": 5.131056785583496,7355 "ee/spec/services/ee/boards/lists/create_service_spec.rb": 7.810803174972534,7356 "ee/spec/lib/ee/gitlab/import_export/group/tree_restorer_spec.rb": 4.3383448123931885,7357 "ee/spec/presenters/epic_presenter_spec.rb": 3.833411693572998,7358 "ee/spec/models/concerns/epic_tree_sorting_spec.rb": 6.137874126434326,7359 "ee/spec/lib/gitlab/ci/templates/Jobs/load_performance_testing_gitlab_ci_yaml_spec.rb": 5.434240102767944,7360 "ee/spec/lib/banzai/filter/epic_reference_filter_spec.rb": 4.283703088760376,7361 "ee/spec/services/boards/update_service_spec.rb": 5.308439016342163,7362 "ee/spec/services/ee/issues/create_from_vulnerability_data_service_spec.rb": 4.20036768913269,7363 "ee/spec/policies/requirements_management/requirement_policy_spec.rb": 4.142850399017334,7364 "ee/spec/models/concerns/elastic/milestone_spec.rb": 3.510227918624878,7365 "ee/spec/models/requirements_management/test_report_spec.rb": 3.522800922393799,7366 "ee/spec/lib/gitlab/elastic/snippet_search_results_spec.rb": 3.15667462348938,7367 "ee/spec/services/ee/issue_links/create_service_spec.rb": 3.138476610183716,7368 "ee/spec/services/projects/operations/update_service_spec.rb": 3.3321220874786377,7369 "ee/spec/models/vulnerabilities/issue_link_spec.rb": 2.821192502975464,7370 "ee/spec/services/dast_site_profiles/create_service_spec.rb": 4.226177215576172,7371 "ee/spec/graphql/mutations/dast_site_profiles/delete_spec.rb": 3.025714635848999,7372 "ee/spec/services/merge_requests/remove_approval_service_spec.rb": 2.8197810649871826,7373 "ee/spec/services/status_page/mark_for_publication_service_spec.rb": 3.0779001712799072,7374 "ee/spec/models/operations/feature_flags/strategy_spec.rb": 3.1599392890930176,7375 "ee/spec/services/merge_requests/sync_code_owner_approval_rules_spec.rb": 2.097766637802124,7376 "ee/spec/graphql/mutations/dast_site_profiles/create_spec.rb": 2.3621814250946045,7377 "ee/spec/lib/gitlab/ci/parsers/security/dependency_scanning_spec.rb": 2.452202320098877,7378 "ee/spec/graphql/mutations/issues/set_assignees_spec.rb": 2.263308048248291,7379 "ee/spec/helpers/ee/user_callouts_helper_spec.rb": 2.243398666381836,7380 "ee/spec/lib/ee/audit/project_changes_auditor_spec.rb": 2.3773629665374756,7381 "ee/spec/services/group_saml/group_managed_accounts/transfer_membership_service_spec.rb": 2.2616934776306152,7382 "ee/spec/lib/omni_auth/strategies/group_saml_spec.rb": 1.8059730529785156,7383 "ee/spec/services/ee/resource_events/change_weight_service_spec.rb": 2.0263967514038086,7384 "ee/spec/lib/gitlab/ci/templates/Verify/load_performance_testing_gitlab_ci_yaml_spec.rb": 2.2548987865448,7385 "ee/spec/finders/boards/milestones_finder_spec.rb": 1.4094505310058594,7386 "ee/spec/lib/analytics/merge_request_metrics_refresh_spec.rb": 1.358539342880249,7387 "ee/spec/policies/approval_merge_request_rule_policy_spec.rb": 1.32525634765625,7388 "ee/spec/lib/ee/gitlab/checks/push_rules/tag_check_spec.rb": 1.203498125076294,7389 "ee/spec/services/ee/boards/issues/list_service_spec.rb": 1.9272429943084717,7390 "ee/spec/services/ee/system_notes/issuables_service_spec.rb": 1.4553697109222412,7391 "ee/spec/services/ee/users/destroy_service_spec.rb": 1.8616604804992676,7392 "ee/spec/models/ee/personal_access_token_spec.rb": 1.2242779731750488,7393 "ee/spec/models/issue_link_spec.rb": 2.0252492427825928,7394 "ee/spec/workers/adjourned_projects_deletion_cron_worker_spec.rb": 1.7445487976074219,7395 "ee/spec/helpers/ee/namespace_storage_limit_alert_helper_spec.rb": 1.0777947902679443,7396 "ee/spec/models/project_services/github_service/status_message_spec.rb": 1.8627963066101074,7397 "ee/spec/lib/gitlab/elastic/document_reference_spec.rb": 1.2821884155273438,7398 "ee/spec/serializers/productivity_analytics_merge_request_entity_spec.rb": 1.0034704208374023,7399 "ee/spec/finders/merge_requests_finder_spec.rb": 1.1477811336517334,7400 "ee/spec/lib/pseudonymizer/dumper_spec.rb": 0.9772570133209229,7401 "ee/spec/graphql/mutations/epics/add_issue_spec.rb": 0.8485841751098633,7402 "ee/spec/lib/banzai/filter/label_reference_filter_spec.rb": 0.8801677227020264,7403 "ee/spec/routing/project_routing_spec.rb": 1.0496151447296143,7404 "ee/spec/lib/gitlab/code_owners/groups_loader_spec.rb": 1.1819069385528564,7405 "ee/spec/workers/update_max_seats_used_for_gitlab_com_subscriptions_worker_spec.rb": 1.0849642753601074,7406 "ee/spec/views/admin/dashboard/index.html.haml_spec.rb": 1.0461905002593994,7407 "ee/spec/services/ee/protected_branches/update_service_spec.rb": 0.386507511138916,7408 "ee/spec/views/shared/_mirror_update_button.html.haml_spec.rb": 1.551687479019165,7409 "ee/spec/lib/gitlab/code_owners/entry_spec.rb": 0.9804363250732422,7410 "ee/spec/services/projects/licenses/update_policy_service_spec.rb": 0.8188812732696533,7411 "ee/spec/lib/ee/gitlab/analytics/cycle_analytics/base_query_builder_spec.rb": 0.9172563552856445,7412 "ee/spec/serializers/clusters/environment_entity_spec.rb": 0.8724627494812012,7413 "ee/spec/lib/gitlab/import_export/project/object_builder_spec.rb": 0.7846822738647461,7414 "ee/spec/lib/gitlab/auth/smartcard/san_extension_spec.rb": 0.8324944972991943,7415 "ee/spec/models/approver_group_spec.rb": 0.996131181716919,7416 "ee/spec/finders/boards/users_finder_spec.rb": 0.6453611850738525,7417 "ee/spec/lib/gitlab/ci/pipeline/chain/limit/activity_spec.rb": 0.6556386947631836,7418 "ee/spec/graphql/mutations/clusters/agents/delete_spec.rb": 0.6701340675354004,7419 "ee/spec/services/epic_issues/update_service_spec.rb": 0.7310700416564941,7420 "ee/spec/services/security/report_fetch_service_spec.rb": 0.751164436340332,7421 "ee/spec/lib/gitlab/auth/group_saml/failure_handler_spec.rb": 0.5894074440002441,7422 "ee/spec/services/ee/quick_actions/target_service_spec.rb": 1.0577199459075928,7423 "ee/spec/lib/banzai/filter/cross_project_issuable_information_filter_spec.rb": 0.6777775287628174,7424 "ee/spec/lib/peek/views/elasticsearch_spec.rb": 0.5144767761230469,7425 "ee/spec/helpers/ee/services_helper_spec.rb": 0.5399730205535889,7426 "ee/spec/models/ee/members_preloader_spec.rb": 0.40779757499694824,7427 "ee/spec/services/milestones/burnup_chart_service_spec.rb": 0.4761495590209961,7428 "ee/spec/models/operations/feature_flags_client_spec.rb": 0.4691591262817383,7429 "ee/spec/workers/adjourned_project_deletion_worker_spec.rb": 0.3813450336456299,7430 "ee/spec/services/clusters/agents/delete_service_spec.rb": 0.6289553642272949,7431 "ee/spec/policies/saml_provider_policy_spec.rb": 0.5010712146759033,7432 "ee/spec/models/ee/description_version_spec.rb": 0.44710636138916016,7433 "ee/spec/lib/ee/gitlab/verify/uploads_spec.rb": 0.3979918956756592,7434 "ee/spec/lib/ee/audit/project_feature_changes_auditor_spec.rb": 0.3983006477355957,7435 "ee/spec/services/ee/users/create_service_spec.rb": 0.39243292808532715,7436 "ee/spec/lib/gitlab/ci/parsers/license_compliance/license_scanning_spec.rb": 0.36966943740844727,7437 "ee/spec/services/projects/slack_application_install_service_spec.rb": 0.4341135025024414,7438 "ee/spec/views/projects/dast_profiles/index.html.haml_spec.rb": 0.44590139389038086,7439 "ee/spec/graphql/ee/resolvers/compliance_frameworks_resolver_spec.rb": 0.4474761486053467,7440 "ee/spec/models/namespace_setting_spec.rb": 0.27393412590026855,7441 "ee/spec/helpers/epics_helper_spec.rb": 0.4768552780151367,7442 "ee/spec/models/dependency_proxy/blob_spec.rb": 0.29798007011413574,7443 "ee/spec/serializers/dependency_list_serializer_spec.rb": 0.27921080589294434,7444 "ee/spec/graphql/types/instance_security_dashboard_type_spec.rb": 0.3766498565673828,7445 "ee/spec/services/boards/user_preferences/update_service_spec.rb": 0.3185856342315674,7446 "ee/spec/services/ee/commits/create_service_spec.rb": 0.2845451831817627,7447 "ee/spec/views/admin/licenses/show.html.haml_spec.rb": 0.13795995712280273,7448 "ee/spec/views/compliance_management/compliance_framework/_compliance_framework_badge.html.haml_spec.rb": 0.3372304439544678,7449 "ee/spec/services/ee/audit_events/release_artifacts_downloaded_audit_event_service_spec.rb": 0.26125431060791016,7450 "ee/spec/services/ee/resource_events/synthetic_weight_notes_builder_service_spec.rb": 0.23232078552246094,7451 "ee/spec/helpers/ee/gitlab_routing_helper_spec.rb": 0.23781800270080566,7452 "ee/spec/policies/instance_security_dashboard_policy_spec.rb": 0.22624850273132324,7453 "ee/spec/views/admin/users/index.html.haml_spec.rb": 0.23283123970031738,7454 "ee/spec/workers/create_github_webhook_worker_spec.rb": 0.18494367599487305,7455 "ee/spec/services/network_policies/resources_service_spec.rb": 0.010596752166748047,7456 "ee/spec/serializers/feature_flags_client_serializer_spec.rb": 0.16030001640319824,7457 "ee/spec/lib/gitlab/auth/smartcard/session_enforcer_spec.rb": 0.41913342475891113,7458 "ee/spec/lib/gitlab/object_hierarchy_spec.rb": 0.1605372428894043,7459 "ee/spec/tasks/gitlab/spdx_rake_spec.rb": 0.15587973594665527,7460 "ee/spec/serializers/vulnerabilities/identifier_entity_spec.rb": 0.1883704662322998,7461 "ee/spec/lib/gitlab/auth/group_saml/token_actor_spec.rb": 0.16700100898742676,7462 "ee/spec/serializers/license_scanning_report_license_entity_spec.rb": 0.12499213218688965,7463 "ee/spec/lib/gitlab/database/load_balancing_spec.rb": 0.16188764572143555,7464 "ee/spec/lib/gitlab/mirror_spec.rb": 0.1467900276184082,7465 "ee/spec/lib/ee/gitlab/issuable_metadata_spec.rb": 0.14063334465026855,7466 "ee/spec/lib/ee/gitlab/ci/pipeline/quota/size_spec.rb": 0.12158632278442383,7467 "ee/spec/services/keys/create_service_spec.rb": 0.14399242401123047,7468 "ee/spec/models/analytics/cycle_analytics/group_value_stream_spec.rb": 0.1409463882446289,7469 "ee/spec/services/elastic/process_bookkeeping_service_spec.rb": 0.08539700508117676,7470 "ee/spec/graphql/mutations/namespaces/increase_storage_temporarily_spec.rb": 0.07322502136230469,7471 "ee/spec/lib/gitlab/ci/yaml_processor_spec.rb": 0.07709050178527832,7472 "ee/spec/models/ci/minutes/quota_spec.rb": 0.07912731170654297,7473 "ee/spec/views/admin/push_rules/_merge_request_approvals.html.haml_spec.rb": 0.04977774620056152,7474 "ee/spec/lib/ee/gitlab/alerting/notification_payload_parser_spec.rb": 0.0710909366607666,7475 "ee/spec/models/project_services/github_service/status_notifier_spec.rb": 0.07913684844970703,7476 "ee/spec/finders/status_page/incidents_finder_spec.rb": 0.062113046646118164,7477 "ee/spec/services/vulnerabilities/historical_statistics/adjustment_service_spec.rb": 0.10699200630187988,7478 "ee/spec/serializers/scim_oauth_access_token_entity_spec.rb": 0.0927281379699707,7479 "ee/spec/lib/analytics/productivity_analytics_request_params_spec.rb": 0.07239437103271484,7480 "ee/spec/workers/adjourned_group_deletion_worker_spec.rb": 0.07466864585876465,7481 "ee/spec/services/projects/licenses/create_policy_service_spec.rb": 0.057424068450927734,7482 "ee/spec/services/ee/keys/destroy_service_spec.rb": 0.06347799301147461,7483 "ee/spec/services/group_saml/saml_provider/create_service_spec.rb": 0.052405357360839844,7484 "ee/spec/lib/world_spec.rb": 0.0459442138671875,7485 "ee/spec/lib/gitlab/graphql/aggregations/epics/epic_node_spec.rb": 0.048401832580566406,7486 "ee/spec/views/projects/dast_site_profiles/edit.html.haml_spec.rb": 0.03358578681945801,7487 "ee/spec/models/security/scan_spec.rb": 0.04440641403198242,7488 "ee/spec/workers/elastic_cluster_reindexing_cron_worker_spec.rb": 0.011003732681274414,7489 "ee/spec/models/ee/notification_setting_spec.rb": 0.029762983322143555,7490 "ee/spec/services/security/configuration/save_auto_fix_service_spec.rb": 0.03278326988220215,7491 "ee/spec/models/project_repository_state_spec.rb": 0.024967193603515625,7492 "ee/spec/models/group_deletion_schedule_spec.rb": 0.01783466339111328,7493 "ee/spec/lib/ee/gitlab/scim/value_parser_spec.rb": 0.02184891700744629,7494 "ee/spec/lib/gitlab/kubernetes/deployment_spec.rb": 0.09605216979980469,7495 "ee/spec/serializers/ee/merge_request_serializer_spec.rb": 0.022905588150024414,7496 "ee/spec/lib/gitlab/gl_repository/repo_type_spec.rb": 0.02194690704345703,7497 "ee/spec/lib/pseudonymizer/uploader_spec.rb": 0.016704082489013672,7498 "ee/spec/lib/gitlab/insights/validators/params_validator_spec.rb": 0.020099401473999023,7499 "ee/spec/workers/iterations_update_status_worker_spec.rb": 0.015599727630615234,7500 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_last_edited_spec.rb": 0.015840530395507812,7501 "ee/spec/lib/gitlab/analytics/cycle_analytics/stage_events/issue_first_added_to_board_spec.rb": 0.014894247055053711,7502 "ee/spec/lib/gitlab/status_page/filter/image_filter_spec.rb": 0.017339468002319336,7503 "ee/spec/lib/gitlab/ip_address_state_spec.rb": 0.012031793594360352,7504 "ee/spec/lib/gitlab/regex_spec.rb": 0.01184844970703125,7505 "ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb": 0.011399269104003906,7506 "ee/spec/lib/gitlab/ci/reports/metrics/reports_comparer_spec.rb": 0.012421607971191406,7507 "ee/spec/lib/constraints/jira_encoded_url_constrainer_spec.rb": 0.010320186614990234,7508 "ee/spec/services/network_policies/delete_resource_service_spec.rb": 0.009136199951171875,7509 "ee/spec/lib/ee/api/entities/scim/error_spec.rb": 0.17680573463439941,7510 "ee/spec/lib/gitlab/usage_counters/dependency_list_spec.rb": 0.012938261032104492,7511 "ee/spec/helpers/ee/version_check_helper_spec.rb": 0.008902549743652344,7512 "ee/spec/services/personal_access_tokens/groups/update_lifetime_service_spec.rb": 0.00930643081665039,7513 "ee/spec/lib/ee/api/entities/scim/not_found_spec.rb": 0.009052276611328125,7514 "ee/spec/helpers/merge_requests_helper_spec.rb": 0.0074503421783447266,7515 "ee/spec/lib/gitlab/gl_repository_spec.rb": 0.004621267318725586,7516 "ee/spec/lib/elastic/latest/project_wiki_instance_proxy_spec.rb": 0.006758689880371094,7517 "ee/spec/lib/ee/gitlab/auth/ldap/access_levels_spec.rb": 0.0055768489837646484,7518 "ee/spec/lib/gitlab/proxy_spec.rb": 0.006079912185668945,7519 "ee/spec/lib/gitlab/audit/levels/project_spec.rb": 0.004710197448730469,7520 "ee/spec/lib/gitlab/gl_repository/identifier_spec.rb": 0.004606723785400391,7521 "ee/spec/graphql/types/burnup_chart_daily_totals_type_spec.rb": 0.00676727294921875,7522 "ee/spec/lib/gitlab/ci/reports/metrics/report_spec.rb": 0.006272792816162109,7523 "ee/spec/graphql/types/permission_types/epic_spec.rb": 0.004835605621337891,7524 "ee/spec/graphql/types/vulnerability_severities_count_type_spec.rb": 0.0029532909393310547,7525 "ee/spec/graphql/types/permission_types/vulnerability_spec.rb": 0.003422975540161133,7526 "ee/spec/helpers/ee/application_settings_helper_spec.rb": 0.002673625946044922,7527 "ee/spec/graphql/ee/types/board_list_type_spec.rb": 0.0027027130126953125,7528 "ee/spec/graphql/types/vulnerability/issue_link_type_enum_spec.rb": 0.0025191307067871094,7529 "ee/spec/graphql/types/vulnerability_severity_enum_spec.rb": 0.0026316642761230477530}7531Knapsack global time execution for tests: 07m 57s7532Pending: (Failures listed here are expected and do not affect your suite's status)7533 1) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1 respects visibility7535 Failure/Error:7536 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|7537 described_class.new(user, search: snippet.title).execute7538 end7539 expected collection contained: [#<ProjectSnippet id:1 group64/project1188$1>]7540 actual collection contained: []7541 the missing elements were: [#<ProjectSnippet id:1 group64/project1188$1>]7542 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'7543 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'7544 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'7545 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'7546 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'7547 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'7548 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'7549 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'7550 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'7551 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'7552 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'7553 # ./ee/spec/services/search/snippet_service_spec.rb:79:in `block (6 levels) in <top (required)>'7554 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'7555 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'7556 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'7557 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'7558 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'7559 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'7560 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7561 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'7562 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7563 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7564 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7565 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7566 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7567 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'7568 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'7569 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7570 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'7571 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7572 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7573 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7574 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7575 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7576 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'7577 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'7578 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'7579 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7580 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7581 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7582 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7583 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7584 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'7585 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:16:in `__set_test_mode'7586 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:34:in `inline!'7587 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'7588 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'7589 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7590 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7591 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7592 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7593 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7594 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'7595 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'7596 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'7597 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'7598 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'7599 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7600 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7601 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7602 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7603 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7604 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'7605 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'7606 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'7607 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'7608 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'7609 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'7610 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'7611 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'7612 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'7613 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7614 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7615 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7616 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7617 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7618 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7619 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7620 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7621 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7622 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7623 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7624 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7625 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'7626 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'7627 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'7628 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'7629 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'7630 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'7631 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'7632 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'7633 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'7634 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'7635 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'7636 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'7637 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'7638 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'7639 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'7640 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'7641 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'7642 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'7643 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'7644 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'7645 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'7646 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'7647 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'7648 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'7649 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'7650 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'7651 # /usr/local/bin/bundle:23:in `load'7652 # /usr/local/bin/bundle:23:in `<main>'7653 2) Search::SnippetService#execute visibility project snippet snippet_level: :public, project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1 respects visibility7655 Failure/Error:7656 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|7657 described_class.new(user, search: snippet.title).execute7658 end7659 expected collection contained: [#<ProjectSnippet id:1 group64/project1188$1>]7660 actual collection contained: []7661 the missing elements were: [#<ProjectSnippet id:1 group64/project1188$1>]7662 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'7663 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'7664 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'7665 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'7666 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'7667 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'7668 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'7669 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'7670 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'7671 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'7672 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'7673 # ./ee/spec/services/search/snippet_service_spec.rb:79:in `block (6 levels) in <top (required)>'7674 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'7675 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'7676 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'7677 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'7678 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'7679 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'7680 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7681 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'7682 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7683 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7684 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7685 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7686 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7687 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'7688 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'7689 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7690 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'7691 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7692 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7693 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7694 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7695 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7696 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'7697 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'7698 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'7699 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7700 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7701 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7702 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7703 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7704 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'7705 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:16:in `__set_test_mode'7706 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:34:in `inline!'7707 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'7708 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'7709 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7710 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7711 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7712 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7713 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7714 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'7715 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'7716 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'7717 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'7718 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'7719 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7720 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7721 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7722 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7723 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7724 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'7725 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'7726 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'7727 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'7728 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'7729 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'7730 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'7731 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'7732 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'7733 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7734 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7735 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7736 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7737 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7738 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7739 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7740 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7741 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7742 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7743 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7744 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7745 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'7746 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'7747 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'7748 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'7749 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'7750 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'7751 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'7752 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'7753 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'7754 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'7755 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'7756 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'7757 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'7758 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'7759 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'7760 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'7761 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'7762 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'7763 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'7764 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'7765 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'7766 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'7767 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'7768 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'7769 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'7770 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'7771 # /usr/local/bin/bundle:23:in `load'7772 # /usr/local/bin/bundle:23:in `<main>'7773 3) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :public, feature_access_level: :enabled, membership: :non_member, expected_count: 1 respects visibility7775 Failure/Error:7776 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|7777 described_class.new(user, search: snippet.title).execute7778 end7779 expected collection contained: [#<ProjectSnippet id:1 group64/project1188$1>]7780 actual collection contained: []7781 the missing elements were: [#<ProjectSnippet id:1 group64/project1188$1>]7782 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'7783 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'7784 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'7785 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'7786 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'7787 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'7788 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'7789 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'7790 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'7791 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'7792 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'7793 # ./ee/spec/services/search/snippet_service_spec.rb:79:in `block (6 levels) in <top (required)>'7794 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'7795 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'7796 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'7797 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'7798 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'7799 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'7800 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7801 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'7802 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7803 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7804 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7805 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7806 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7807 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'7808 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'7809 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7810 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'7811 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7812 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7813 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7814 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7815 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7816 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'7817 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'7818 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'7819 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7820 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7821 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7822 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7823 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7824 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'7825 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:16:in `__set_test_mode'7826 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:34:in `inline!'7827 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'7828 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'7829 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7830 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7831 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7832 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7833 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7834 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'7835 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'7836 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'7837 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'7838 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'7839 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7840 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7841 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7842 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7843 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7844 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'7845 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'7846 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'7847 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'7848 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'7849 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'7850 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'7851 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'7852 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'7853 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7854 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7855 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7856 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7857 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7858 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7859 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7860 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7861 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7862 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7863 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7864 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7865 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'7866 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'7867 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'7868 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'7869 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'7870 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'7871 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'7872 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'7873 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'7874 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'7875 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'7876 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'7877 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'7878 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'7879 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'7880 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'7881 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'7882 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'7883 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'7884 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'7885 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'7886 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'7887 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'7888 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'7889 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'7890 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'7891 # /usr/local/bin/bundle:23:in `load'7892 # /usr/local/bin/bundle:23:in `<main>'7893 4) Search::SnippetService#execute visibility project snippet snippet_level: :internal, project_level: :internal, feature_access_level: :enabled, membership: :non_member, expected_count: 1 respects visibility7895 Failure/Error:7896 expect_search_results(search_user, 'snippet_titles', expected_objects: expected_objects, pending: pending?) do |user|7897 described_class.new(user, search: snippet.title).execute7898 end7899 expected collection contained: [#<ProjectSnippet id:1 group64/project1188$1>]7900 actual collection contained: []7901 the missing elements were: [#<ProjectSnippet id:1 group64/project1188$1>]7902 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'7903 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'7904 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'7905 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:40:in `handle_failure'7906 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'7907 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'7908 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'7909 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'7910 # ./ee/spec/support/helpers/search_results_helpers.rb:24:in `block in expect_search_results'7911 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `each'7912 # ./ee/spec/support/helpers/search_results_helpers.rb:12:in `expect_search_results'7913 # ./ee/spec/services/search/snippet_service_spec.rb:79:in `block (6 levels) in <top (required)>'7914 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'7915 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'7916 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'7917 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'7918 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'7919 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'7920 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7921 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'7922 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7923 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7924 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7925 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7926 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7927 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'7928 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'7929 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'7930 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'7931 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7932 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7933 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7934 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7935 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7936 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'7937 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'7938 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'7939 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7940 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7941 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7942 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7943 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7944 # ./spec/support/sidekiq.rb:21:in `block (3 levels) in <top (required)>'7945 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:16:in `__set_test_mode'7946 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:34:in `inline!'7947 # ./spec/support/sidekiq.rb:8:in `gitlab_sidekiq_inline'7948 # ./spec/support/sidekiq.rb:21:in `block (2 levels) in <top (required)>'7949 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7950 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7951 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7952 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7953 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7954 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'7955 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'7956 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'7957 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'7958 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'7959 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7960 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'7961 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'7962 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'7963 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'7964 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'7965 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'7966 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'7967 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'7968 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'7969 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'7970 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'7971 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'7972 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'7973 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7974 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7975 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7976 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7977 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7978 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7979 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7980 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7981 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7982 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'7983 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'7984 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'7985 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'7986 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'7987 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'7988 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'7989 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'7990 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'7991 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'7992 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'7993 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'7994 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'7995 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'7996 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'7997 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'7998 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'7999 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8000 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8001 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8002 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8003 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8004 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8005 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8006 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8007 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8008 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8009 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8010 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8011 # /usr/local/bin/bundle:23:in `load'8012 # /usr/local/bin/bundle:23:in `<main>'8013 5) Custom file template classes Gitlab::Template::CustomDockerfileTemplate.find sets the category correctly8014 # Gitlab::Template::CustomDockerfileTemplate.find does not set category correctly8015 Failure/Error: expect(found.category).to eq('Custom')8016 expected: "Custom"8017 got: nil8018 (compared using ==)8019 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'8020 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'8021 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'8022 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'8023 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'8024 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'8025 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'8026 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'8027 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:70:in `block (5 levels) in <top (required)>'8028 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'8029 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'8030 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'8031 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'8032 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'8033 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'8034 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8035 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'8036 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8037 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8038 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8039 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8040 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8041 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'8042 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'8043 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8044 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'8045 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8046 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8047 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8048 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8049 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8050 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'8051 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'8052 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'8053 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8054 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8055 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8056 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8057 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8058 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'8059 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'8060 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'8061 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'8062 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'8063 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8064 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8065 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8066 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8067 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8068 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'8069 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'8070 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'8071 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'8072 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'8073 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'8074 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'8075 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'8076 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'8077 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8078 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8079 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8080 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8081 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8082 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8083 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'8084 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'8085 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'8086 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'8087 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'8088 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'8089 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'8090 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'8091 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'8092 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'8093 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'8094 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'8095 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'8096 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'8097 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8098 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8099 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8100 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8101 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8102 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8103 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8104 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8105 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8106 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8107 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8108 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8109 # /usr/local/bin/bundle:23:in `load'8110 # /usr/local/bin/bundle:23:in `<main>'8111 6) Custom file template classes Gitlab::Template::CustomGitignoreTemplate.find sets the category correctly8112 # Gitlab::Template::CustomGitignoreTemplate.find does not set category correctly8113 Failure/Error: expect(found.category).to eq('Custom')8114 expected: "Custom"8115 got: nil8116 (compared using ==)8117 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'8118 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'8119 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'8120 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'8121 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'8122 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'8123 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'8124 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'8125 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:70:in `block (5 levels) in <top (required)>'8126 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'8127 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'8128 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'8129 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'8130 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'8131 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'8132 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8133 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'8134 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8135 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8136 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8137 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8138 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8139 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'8140 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'8141 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8142 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'8143 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8144 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8145 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8146 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8147 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8148 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'8149 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'8150 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'8151 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8152 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8153 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8154 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8155 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8156 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'8157 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'8158 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'8159 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'8160 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'8161 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8162 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8163 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8164 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8165 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8166 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'8167 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'8168 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'8169 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'8170 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'8171 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'8172 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'8173 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'8174 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'8175 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8176 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8177 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8178 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8179 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8180 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8181 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'8182 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'8183 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'8184 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'8185 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'8186 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'8187 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'8188 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'8189 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'8190 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'8191 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'8192 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'8193 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'8194 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'8195 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8196 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8197 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8198 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8199 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8200 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8201 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8202 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8203 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8204 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8205 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8206 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8207 # /usr/local/bin/bundle:23:in `load'8208 # /usr/local/bin/bundle:23:in `<main>'8209 7) Custom file template classes Gitlab::Template::CustomGitlabCiYmlTemplate.find sets the category correctly8210 # Gitlab::Template::CustomGitlabCiYmlTemplate.find does not set category correctly8211 Failure/Error: expect(found.category).to eq('Custom')8212 expected: "Custom"8213 got: nil8214 (compared using ==)8215 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'8216 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'8217 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'8218 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'8219 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'8220 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'8221 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'8222 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'8223 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:70:in `block (5 levels) in <top (required)>'8224 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'8225 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'8226 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'8227 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'8228 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'8229 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'8230 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8231 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'8232 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8233 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8234 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8235 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8236 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8237 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'8238 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'8239 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8240 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'8241 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8242 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8243 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8244 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8245 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8246 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'8247 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'8248 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'8249 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8250 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8251 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8252 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8253 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8254 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'8255 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'8256 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'8257 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'8258 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'8259 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8260 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8261 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8262 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8263 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8264 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'8265 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'8266 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'8267 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'8268 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'8269 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'8270 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'8271 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'8272 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'8273 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8274 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8275 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8276 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8277 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8278 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8279 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'8280 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'8281 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'8282 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'8283 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'8284 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'8285 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'8286 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'8287 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'8288 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'8289 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'8290 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'8291 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'8292 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'8293 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8294 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8295 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8296 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8297 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8298 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8299 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8300 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8301 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8302 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8303 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8304 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8305 # /usr/local/bin/bundle:23:in `load'8306 # /usr/local/bin/bundle:23:in `<main>'8307 8) Custom file template classes Gitlab::Template::CustomLicenseTemplate.find sets the category correctly8308 # Gitlab::Template::CustomLicenseTemplate.find does not set category correctly8309 Failure/Error: expect(found.category).to eq('Custom')8310 expected: "Custom"8311 got: nil8312 (compared using ==)8313 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'8314 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'8315 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'8316 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'8317 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'8318 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'8319 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'8320 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'8321 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:70:in `block (5 levels) in <top (required)>'8322 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'8323 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'8324 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'8325 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'8326 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'8327 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'8328 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8329 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'8330 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8331 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8332 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8333 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8334 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8335 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'8336 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'8337 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8338 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'8339 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8340 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8341 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8342 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8343 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8344 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'8345 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'8346 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'8347 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8348 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8349 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8350 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8351 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8352 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'8353 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'8354 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'8355 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'8356 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'8357 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8358 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8359 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8360 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8361 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8362 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'8363 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'8364 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'8365 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'8366 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'8367 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'8368 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'8369 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'8370 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'8371 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8372 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8373 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8374 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8375 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8376 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8377 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'8378 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'8379 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'8380 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'8381 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'8382 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'8383 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'8384 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'8385 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'8386 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'8387 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'8388 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'8389 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'8390 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'8391 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8392 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8393 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8394 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8395 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8396 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8397 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8398 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8399 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8400 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8401 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8402 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8403 # /usr/local/bin/bundle:23:in `load'8404 # /usr/local/bin/bundle:23:in `<main>'8405 9) Custom file template classes Gitlab::Template::CustomMetricsDashboardYmlTemplate.find sets the category correctly8406 # Gitlab::Template::CustomMetricsDashboardYmlTemplate.find does not set category correctly8407 Failure/Error: expect(found.category).to eq('Custom')8408 expected: "Custom"8409 got: nil8410 (compared using ==)8411 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:97:in `block in <module:Support>'8412 # ./vendor/ruby/2.6.0/gems/rspec-support-3.9.2/lib/rspec/support.rb:106:in `notify_failure'8413 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/fail_with.rb:35:in `fail_with'8414 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:38:in `handle_failure'8415 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'8416 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:27:in `with_matcher'8417 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/handler.rb:48:in `handle_matcher'8418 # ./vendor/ruby/2.6.0/gems/rspec-expectations-3.9.1/lib/rspec/expectations/expectation_target.rb:65:in `to'8419 # ./ee/spec/lib/gitlab/template/custom_templates_spec.rb:70:in `block (5 levels) in <top (required)>'8420 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `instance_exec'8421 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:257:in `block in run'8422 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `block in with_around_and_singleton_context_hooks'8423 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `block in with_around_example_hooks'8424 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `block in run'8425 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:612:in `block in run_around_example_hooks_for'8426 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8427 # ./vendor/ruby/2.6.0/gems/rspec-rails-4.0.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'8428 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8429 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8430 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8431 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8432 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8433 # ./spec/spec_helper.rb:320:in `block (3 levels) in <top (required)>'8434 # ./vendor/ruby/2.6.0/gems/sidekiq-5.2.9/lib/sidekiq/testing.rb:55:in `server_middleware'8435 # ./spec/support/sidekiq_middleware.rb:9:in `with_sidekiq_server_middleware'8436 # ./spec/spec_helper.rb:311:in `block (2 levels) in <top (required)>'8437 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8438 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8439 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8440 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8441 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8442 # ./spec/spec_helper.rb:307:in `block (3 levels) in <top (required)>'8443 # ./vendor/ruby/2.6.0/gems/gitlab-labkit-0.12.1/lib/labkit/context.rb:32:in `with_context'8444 # ./spec/spec_helper.rb:307:in `block (2 levels) in <top (required)>'8445 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8446 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8447 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8448 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8449 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8450 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:123:in `block in run'8451 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `loop'8452 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:110:in `run'8453 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'8454 # ./vendor/ruby/2.6.0/gems/rspec-retry-0.6.1/lib/rspec/retry.rb:37:in `block (2 levels) in setup'8455 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8456 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:450:in `instance_exec'8457 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:381:in `execute_with'8458 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:614:in `block (2 levels) in run_around_example_hooks_for'8459 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:345:in `call'8460 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:615:in `run_around_example_hooks_for'8461 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/hooks.rb:472:in `run'8462 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:460:in `with_around_example_hooks'8463 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:503:in `with_around_and_singleton_context_hooks'8464 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example.rb:254:in `run'8465 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:633:in `block in run_examples'8466 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `map'8467 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:629:in `run_examples'8468 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:595:in `run'8469 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8470 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8471 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8472 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `block in run'8473 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `map'8474 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/example_group.rb:596:in `run'8475 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'8476 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `map'8477 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'8478 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/configuration.rb:2031:in `with_suite_hooks'8479 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:116:in `block in run_specs'8480 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/reporter.rb:74:in `report'8481 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:115:in `run_specs'8482 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:89:in `run'8483 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:71:in `run'8484 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/lib/rspec/core/runner.rb:45:in `invoke'8485 # ./vendor/ruby/2.6.0/gems/rspec-core-3.9.1/exe/rspec:4:in `<top (required)>'8486 # ./vendor/ruby/2.6.0/bin/rspec:23:in `load'8487 # ./vendor/ruby/2.6.0/bin/rspec:23:in `<top (required)>'8488 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'8489 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'8490 # /usr/local/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'8491 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'8492 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'8493 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'8494 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'8495 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'8496 # /usr/local/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'8497 # /usr/local/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'8498 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'8499 # /usr/local/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'8500 # /usr/local/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'8501 # /usr/local/bin/bundle:23:in `load'8502 # /usr/local/bin/bundle:23:in `<main>'8503Finished in 14 minutes 43 seconds (files took 46.02 seconds to load)85043278 examples, 0 failures, 9 pending8505Sat Aug 29 16:47:11 UTC 20208507Not uploading cache rails-v2-3 due to policy8509Uploading artifacts...8510coverage/: found 5 matching files and directories 8511knapsack/: found 3 matching files and directories 8512rspec_flaky/: found 4 matching files and directories 8513rspec_profiling/: found 2 matching files and directories 8514WARNING: tmp/capybara/: no matching files 8515tmp/memory_test/: found 2 matching files and directories 8516log/*.log: found 14 matching files and directories 8517Uploading artifacts as "archive" to coordinator... ok id=710020419 responseStatus=201 Created token=iUjrFumP8518Uploading artifacts...8519junit_rspec.xml: found 1 matching files and directories 8520Uploading artifacts as "junit" to coordinator... ok id=710020419 responseStatus=201 Created token=iUjrFumP8521Job succeeded