Commit e3ff1970 authored by Thong Kuah's avatar Thong Kuah

Add frozen_string_literal to ee/spec/models

Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
parent eebca4db
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ApplicationSetting do describe ApplicationSetting do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Approvable do describe Approvable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Approval do describe Approval do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ApproverGroup do describe ApproverGroup do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
RSpec.describe AuditEvent, type: :model do RSpec.describe AuditEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BoardAssignee do describe BoardAssignee do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BoardLabel do describe BoardLabel do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Board do describe Board do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BroadcastMessage do describe BroadcastMessage do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Burndown do describe Burndown do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Bridge do describe Ci::Bridge do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Sources::Pipeline do describe Ci::Sources::Pipeline do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe EE::DeploymentPlatform do describe EE::DeploymentPlatform do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Issue, :elastic do describe Issue, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe MergeRequest, :elastic do describe MergeRequest, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Milestone, :elastic do describe Milestone, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Note, :elastic do describe Note, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Project, :elastic do describe Project, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectWiki, :elastic do describe ProjectWiki, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Repository, :elastic do describe Repository, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Snippet, :elastic do describe Snippet, :elastic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::Eventable do RSpec.describe Geo::Eventable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Appearance do describe Appearance do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EE::Ci::Runner do describe EE::Ci::Runner do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::Cluster do describe Clusters::Cluster do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::Platforms::Kubernetes do describe Clusters::Platforms::Kubernetes do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe List do describe List do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Note do describe Note do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectAuthorization do describe ProjectAuthorization do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProtectedBranch do describe ProtectedBranch do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EE::ProtectedRefAccess do describe EE::ProtectedRefAccess do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EE::ProtectedRef do describe EE::ProtectedRef do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Todo do describe Todo do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Epic do describe Epic do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::DeletedProject, type: :model do RSpec.describe Geo::DeletedProject, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::EventLog, type: :model do RSpec.describe Geo::EventLog, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::EventLogState, type: :model do RSpec.describe Geo::EventLogState, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe 'Every Geo event' do describe 'Every Geo event' do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Geo::FileRegistry do describe Geo::FileRegistry do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::HashedStorageMigratedEvent, type: :model do RSpec.describe Geo::HashedStorageMigratedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::JobArtifactDeletedEvent, type: :model do RSpec.describe Geo::JobArtifactDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::LfsObjectDeletedEvent, type: :model do RSpec.describe Geo::LfsObjectDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Geo::ProjectRegistry do describe Geo::ProjectRegistry do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Geo::RepositoriesChangedEvent, type: :model do describe Geo::RepositoriesChangedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Geo::RepositoryCreatedEvent, type: :model do describe Geo::RepositoryCreatedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::RepositoryRenamedEvent, type: :model do RSpec.describe Geo::RepositoryRenamedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::RepositoryUpdatedEvent, type: :model do RSpec.describe Geo::RepositoryUpdatedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Geo::TrackingBase do describe Geo::TrackingBase do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe Geo::UploadDeletedEvent, type: :model do RSpec.describe Geo::UploadDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GeoNodeNamespaceLink, models: true do describe GeoNodeNamespaceLink, models: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GeoNode, :geo, type: :model do describe GeoNode, :geo, type: :model do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GeoNodeStatus, :geo, :geo_fdw do describe GeoNodeStatus, :geo, :geo_fdw do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GitlabSubscription do describe GitlabSubscription do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Group do describe Group do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe HistoricalData do describe HistoricalData do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GroupHook do describe GroupHook do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Identity do describe Identity do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe IssueLink do describe IssueLink do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Issue do describe Issue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe LdapGroupLink do describe LdapGroupLink do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe LfsObject do describe LfsObject do
......
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe License do describe License do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NamespaceStatistics do describe NamespaceStatistics do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Operations::FeatureFlag do describe Operations::FeatureFlag do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Operations::FeatureFlagsClient do describe Operations::FeatureFlagsClient do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PathLock do describe PathLock do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PgReplicationSlot do describe PgReplicationSlot do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectImportData do describe ProjectImportData do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe ProjectRepositoryState do describe ProjectRepositoryState do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
RSpec.describe ChatMessage::MergeMessage do RSpec.describe ChatMessage::MergeMessage do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GithubService::RemoteProject do describe GithubService::RemoteProject do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GithubService::StatusMessage do describe GithubService::StatusMessage do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GithubService::StatusNotifier do describe GithubService::StatusNotifier do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GithubService do describe GithubService do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe JenkinsDeprecatedService, use_clean_rails_memory_store_caching: true do describe JenkinsDeprecatedService, use_clean_rails_memory_store_caching: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe JenkinsService do describe JenkinsService do
......
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe ProjectTeam do describe ProjectTeam do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProtectedBranch::UnprotectAccessLevel do describe ProtectedBranch::UnprotectAccessLevel do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PushRule do describe PushRule do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RemoteMirror do describe RemoteMirror do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Repository do describe Repository do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe SamlProvider do describe SamlProvider do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Service do describe Service do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe SlackIntegration do describe SlackIntegration do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe StorageShard do describe StorageShard do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Upload do describe Upload do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe UserPreference do describe UserPreference do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe VisibleApprovable do describe VisibleApprovable do
......
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