Commit 06976a8f authored by Jan Provaznik's avatar Jan Provaznik

Merge branch 'frozen_string_ee_spec_models' into 'master'

Add frozen_string_literal to ee/spec/models

See merge request gitlab-org/gitlab-ee!15517
parents bae47b4f 19413488
# frozen_string_literal: true
require 'spec_helper'
describe ApplicationSetting do
......
# frozen_string_literal: true
require 'spec_helper'
describe Approvable do
......
# frozen_string_literal: true
require 'spec_helper'
describe Approval do
......
# frozen_string_literal: true
require 'spec_helper'
describe ApproverGroup do
......
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe AuditEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe BoardAssignee do
......
# frozen_string_literal: true
require 'spec_helper'
describe BoardLabel do
......
# frozen_string_literal: true
require 'spec_helper'
describe Board do
......
# frozen_string_literal: true
require 'spec_helper'
describe BroadcastMessage do
......
# frozen_string_literal: true
require 'spec_helper'
describe Burndown do
......
# frozen_string_literal: true
require 'spec_helper'
describe Ci::Bridge do
......
# frozen_string_literal: true
require 'spec_helper'
describe Ci::Sources::Pipeline do
......
# frozen_string_literal: true
require 'rails_helper'
describe EE::DeploymentPlatform do
......
# frozen_string_literal: true
require 'spec_helper'
describe Issue, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe MergeRequest, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe Milestone, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe Note, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe Project, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProjectWiki, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe Repository, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
describe Snippet, :elastic do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::Eventable do
......
# frozen_string_literal: true
require 'spec_helper'
describe Appearance do
......
# frozen_string_literal: true
require 'spec_helper'
describe EE::Ci::Runner do
......
# frozen_string_literal: true
require 'spec_helper'
describe Clusters::Cluster do
......
# frozen_string_literal: true
require 'spec_helper'
describe Clusters::Platforms::Kubernetes do
......
# frozen_string_literal: true
require 'rails_helper'
describe List do
......
# frozen_string_literal: true
require 'spec_helper'
describe Note do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProjectAuthorization do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProtectedBranch do
......
# frozen_string_literal: true
require 'spec_helper'
describe EE::ProtectedRefAccess do
......
# frozen_string_literal: true
require 'spec_helper'
describe EE::ProtectedRef do
......
# frozen_string_literal: true
require 'spec_helper'
describe Todo do
......
# frozen_string_literal: true
require 'spec_helper'
describe Epic do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::DeletedProject, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::EventLog, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::EventLogState, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Every Geo event' do
......
# frozen_string_literal: true
require 'spec_helper'
describe Geo::FileRegistry do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::HashedStorageMigratedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::JobArtifactDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::LfsObjectDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe Geo::ProjectRegistry do
......
# frozen_string_literal: true
require 'spec_helper'
describe Geo::RepositoriesChangedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe Geo::RepositoryCreatedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::RepositoryRenamedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::RepositoryUpdatedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe Geo::TrackingBase do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Geo::UploadDeletedEvent, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe GeoNodeNamespaceLink, models: true do
......
# frozen_string_literal: true
require 'spec_helper'
describe GeoNode, :geo, type: :model do
......
# frozen_string_literal: true
require 'spec_helper'
describe GeoNodeStatus, :geo, :geo_fdw do
......
# frozen_string_literal: true
require 'spec_helper'
describe GitlabSubscription do
......
# frozen_string_literal: true
require 'spec_helper'
describe Group do
......
# frozen_string_literal: true
require 'spec_helper'
describe HistoricalData do
......
# frozen_string_literal: true
require 'spec_helper'
describe GroupHook do
......
# frozen_string_literal: true
require 'spec_helper'
describe Identity do
......
# frozen_string_literal: true
require 'spec_helper'
describe IssueLink do
......
# frozen_string_literal: true
require 'spec_helper'
describe Issue do
......
# frozen_string_literal: true
require 'spec_helper'
describe LdapGroupLink do
......
# frozen_string_literal: true
require 'spec_helper'
describe LfsObject do
......
# frozen_string_literal: true
require "spec_helper"
describe License do
......@@ -94,8 +96,8 @@ describe License do
it 'shows the proper error message' do
license.valid?
error_msg = "This GitLab installation currently has 2 active users, exceeding this license's limit of 1 by 1 user. "
error_msg << "Please upload a license for at least 2 users or contact sales at renewals@gitlab.com"
error_msg = "This GitLab installation currently has 2 active users, exceeding this license's limit of 1 by 1 user. " \
"Please upload a license for at least 2 users or contact sales at renewals@gitlab.com"
expect(license.errors[:base].first).to eq(error_msg)
end
......
# frozen_string_literal: true
require 'spec_helper'
describe NamespaceStatistics do
......
# frozen_string_literal: true
require 'spec_helper'
describe Operations::FeatureFlag do
......
# frozen_string_literal: true
require 'spec_helper'
describe Operations::FeatureFlagsClient do
......
# frozen_string_literal: true
require 'spec_helper'
describe PathLock do
......
# frozen_string_literal: true
require 'spec_helper'
describe PgReplicationSlot do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProjectImportData do
......
# frozen_string_literal: true
require 'rails_helper'
describe ProjectRepositoryState do
......
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe ChatMessage::MergeMessage do
......
# frozen_string_literal: true
require 'spec_helper'
describe GithubService::RemoteProject do
......
# frozen_string_literal: true
require 'spec_helper'
describe GithubService::StatusMessage do
......
# frozen_string_literal: true
require 'spec_helper'
describe GithubService::StatusNotifier do
......
# frozen_string_literal: true
require 'spec_helper'
describe GithubService do
......
# frozen_string_literal: true
require 'spec_helper'
describe JenkinsDeprecatedService, use_clean_rails_memory_store_caching: true do
......
# frozen_string_literal: true
require 'spec_helper'
describe JenkinsService do
......
# frozen_string_literal: true
require "spec_helper"
describe ProjectTeam do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProtectedBranch::UnprotectAccessLevel do
......
# frozen_string_literal: true
require 'spec_helper'
describe PushRule do
......
# frozen_string_literal: true
require 'spec_helper'
describe RemoteMirror do
......
# frozen_string_literal: true
require 'spec_helper'
describe Repository do
......
# frozen_string_literal: true
require 'spec_helper'
describe SamlProvider do
......
# frozen_string_literal: true
require 'spec_helper'
describe Service do
......
# frozen_string_literal: true
require 'spec_helper'
describe SlackIntegration do
......
# frozen_string_literal: true
require 'spec_helper'
describe StorageShard do
......
# frozen_string_literal: true
require 'spec_helper'
describe Upload do
......
# frozen_string_literal: true
require 'spec_helper'
describe UserPreference do
......
# frozen_string_literal: true
require 'spec_helper'
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