Commit 8514991c authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'frozen_string_literal_ee_specs' into 'master'

Add frozen_string_literal to all ee specs

See merge request gitlab-org/gitlab!17754
parents c259a36d 6d50dbdf
# frozen_string_literal: true
require 'spec_helper'
describe 'ee/bin/sidekiq-cluster' do
......
# frozen_string_literal: true
require 'spec_helper'
# This module is monkey-patched in config/initializers/elastic_client_setup.rb
......
# frozen_string_literal: true
require 'spec_helper'
describe 'GlobalSearch', :elastic do
......
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
......
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
......
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
......
# frozen_string_literal: true
FactoryBot.define do
factory :audit_event, class: 'SecurityEvent', aliases: [:user_audit_event] do
user
......
# frozen_string_literal: true
FactoryBot.define do
factory :board_label do
association :board
......
# frozen_string_literal: true
FactoryBot.define do
factory :ci_sources_pipeline, class: Ci::Sources::Pipeline do
after(:build) do |source|
......
# frozen_string_literal: true
FactoryBot.define do
factory :doorkeeper_access_grant, class: Doorkeeper::AccessGrant do
sequence(:resource_owner_id) { |n| n }
......
# frozen_string_literal: true
FactoryBot.define do
factory :epic_issue do
epic
......
# frozen_string_literal: true
FactoryBot.define do
factory :epic do
title { generate(:title) }
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_event_log, class: Geo::EventLog do
trait :created_event do
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_event_log_state, class: Geo::EventLogState do
sequence(:event_id)
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_file_registry, class: Geo::FileRegistry do
sequence(:file_id)
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_job_artifact_registry, class: Geo::JobArtifactRegistry do
sequence(:artifact_id)
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_project_registry, class: Geo::ProjectRegistry do
project
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_node_namespace_link do
geo_node
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_node_status do
geo_node
......
# frozen_string_literal: true
FactoryBot.define do
factory :geo_node do
sequence(:url) do |n|
......
# frozen_string_literal: true
FactoryBot.define do
factory :gitlab_subscription do
namespace
......
# frozen_string_literal: true
FactoryBot.define do
factory :group_hook do
url { generate(:url) }
......
# frozen_string_literal: true
FactoryBot.define do
factory :issue_link do
source factory: :issue
......
# frozen_string_literal: true
FactoryBot.define do
factory :ldap_group_link do
cn 'group1'
......
# frozen_string_literal: true
FactoryBot.define do
factory :ldap_key, parent: :key, class: 'LDAPKey'
end
# frozen_string_literal: true
FactoryBot.define do
factory :gitlab_license, class: "Gitlab::License" do
skip_create
......
# frozen_string_literal: true
FactoryBot.define do
factory :user_list, parent: :list do
list_type :assignee
......
# frozen_string_literal: true
FactoryBot.define do
factory :namespace_statistics do
namespace factory: :namespace
......
# frozen_string_literal: true
FactoryBot.define do
factory :operations_feature_flag, class: Operations::FeatureFlag do
sequence(:name) { |n| "feature_flag_#{n}" }
......
# frozen_string_literal: true
FactoryBot.define do
factory :operations_feature_flags_client, class: Operations::FeatureFlagsClient do
project
......
# frozen_string_literal: true
FactoryBot.define do
factory :path_lock do
project
......
# frozen_string_literal: true
# EE-only
FactoryBot.define do
factory :plan do
......
# frozen_string_literal: true
FactoryBot.define do
factory :repository_state, class: 'ProjectRepositoryState' do
project
......
# frozen_string_literal: true
FactoryBot.define do
factory :project_tracing_setting do
project
......
# frozen_string_literal: true
FactoryBot.define do
factory :prometheus_alert do
project
......
# frozen_string_literal: true
FactoryBot.define do
factory :protected_branch_merge_access_level, class: ProtectedBranch::MergeAccessLevel do
user nil
......
# frozen_string_literal: true
FactoryBot.define do
factory :protected_branch_push_access_level, class: ProtectedBranch::PushAccessLevel do
user nil
......
# frozen_string_literal: true
FactoryBot.define do
factory :protected_branch_unprotect_access_level, class: ProtectedBranch::UnprotectAccessLevel do
user nil
......
# frozen_string_literal: true
FactoryBot.define do
factory :protected_tag_create_access_level, class: ProtectedTag::CreateAccessLevel do
user nil
......
# frozen_string_literal: true
# Read about factories at https://github.com/thoughtbot/factory_bot
FactoryBot.define do
......
# frozen_string_literal: true
FactoryBot.define do
factory :saml_provider do
group
......
# frozen_string_literal: true
FactoryBot.define do
factory :slack_integration do
sequence(:team_id) { |n| "T123#{n}" }
......
# frozen_string_literal: true
require 'digest'
FactoryBot.define do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Admin::AuditLogs', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Admin browses logs' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Admin Dashboard' do
......
# frozen_string_literal: true
require "spec_helper"
describe "Admin interacts with push rules" do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Reset namespace pipeline minutes' do
......
# frozen_string_literal: true
require "spec_helper"
describe "Admin sends notification", :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe "Admin::Users" do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'admin Geo Nodes', :js, :geo do
......
# frozen_string_literal: true
require "spec_helper"
describe "Admin uploads license" do
......
# frozen_string_literal: true
require "spec_helper"
describe "Admin views license" do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Billing plan pages', :feature do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Issue Boards focus mode', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'label issues', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Scoped issue boards', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Issue Boards', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Burndown charts' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'CI shared runner settings' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'CI shared runner limits' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Thread Comments Epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Delete Epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Epic Issues', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Assign labels to an epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'epics list', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'epics list', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'GFM autocomplete', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'New Epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Referencing Epics', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Manually create a todo item from epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Update Epic', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'GEO Nodes', :geo do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Groups > Contribution Analytics', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Groups > Audit Events', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Groups > Billing', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'The group page' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'group epic roadmap', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Edit group settings' do
......
# frozen_string_literal: true
require "spec_helper"
describe "User adds hook" do
......
# frozen_string_literal: true
require 'spec_helper'
describe "User tests hooks", :js do
......
# frozen_string_literal: true
require "spec_helper"
describe "User views hooks" do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Edit group settings', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Groups > Members > Maintainer/Owner can override LDAP access levels' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'SAML provider settings' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Groups > Usage Quotas' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Related issues', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Issues csv' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Epic in issue sidebar', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Dropdown weight', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Filter issues weight', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'New/edit issue', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Issue Sidebar' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Service Desk Issue Tracker', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Issues sub nav EE' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Subscriptions Content Security Policy' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Labels Hierarchy', :js do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Merge request > Batch comments', :js do
......
# frozen_string_literal: true
require 'spec_helper'
# TODO: https://gitlab.com/gitlab-org/gitlab/issues/9430
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Merge request > User merges with Push Rules', :js do
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment