Skip to content
代码片段 群组 项目
提交 cad2a185 编辑于 作者: Thong Kuah's avatar Thong Kuah
浏览文件

Add frozen_string_literal to all ee specs

上级 af734ef3
No related branches found
No related tags found
无相关合并请求
显示
40 个添加0 个删除
# 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|
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册