Commit cad2a185 authored by Thong Kuah's avatar Thong Kuah 💬
Browse files

Add frozen_string_literal to all ee specs

https://gitlab.com/gitlab-org/gitlab/issues/27703
parent af734ef3
# 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|
......
Supports Markdown
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