Commit a2cfc150 authored by Thong Kuah's avatar Thong Kuah

Add # frozen_string_literal to spec/models

Adds `# frozen_string_literal: true` to spec/models ruby files
parent afbc8274
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ability do describe Ability do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe AbuseReport do describe AbuseReport do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
RSpec.describe ActiveSession, :clean_gitlab_redis_shared_state do RSpec.describe ActiveSession, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Appearance do describe Appearance do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ApplicationSetting::Term do describe ApplicationSetting::Term do
......
# 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 AwardEmoji do describe AwardEmoji do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Badge do describe Badge do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GroupBadge do describe GroupBadge do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectBadge do describe ProjectBadge do
......
# encoding: utf-8 # encoding: utf-8
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Blob do describe Blob do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::Base do describe BlobViewer::Base do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::Changelog do describe BlobViewer::Changelog do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::ComposerJson do describe BlobViewer::ComposerJson do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::Gemspec do describe BlobViewer::Gemspec do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::GitlabCiYml do describe BlobViewer::GitlabCiYml do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::License do describe BlobViewer::License do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::PackageJson do describe BlobViewer::PackageJson do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::PodspecJson do describe BlobViewer::PodspecJson do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::Podspec do describe BlobViewer::Podspec do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::Readme do describe BlobViewer::Readme do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::RouteMap do describe BlobViewer::RouteMap do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BlobViewer::ServerSide do describe BlobViewer::ServerSide do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_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 ChatName do describe ChatName do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ChatTeam do describe ChatTeam do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::ArtifactBlob do describe Ci::ArtifactBlob 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::BuildMetadata do describe Ci::BuildMetadata do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildRunnerSession, model: true do describe Ci::BuildRunnerSession, model: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Build do describe Ci::Build do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do describe Ci::BuildTraceChunk, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceChunks::Database do describe Ci::BuildTraceChunks::Database do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceChunks::Fog do describe Ci::BuildTraceChunks::Fog do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceChunks::Redis, :clean_gitlab_redis_shared_state do describe Ci::BuildTraceChunks::Redis, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceSectionName, model: true do describe Ci::BuildTraceSectionName, model: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildTraceSection, model: true do describe Ci::BuildTraceSection, model: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Group do describe Ci::Group do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::GroupVariable do describe Ci::GroupVariable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::JobArtifact do describe Ci::JobArtifact do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::LegacyStage do describe Ci::LegacyStage do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::PipelineSchedule do describe Ci::PipelineSchedule do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::PipelineScheduleVariable do describe Ci::PipelineScheduleVariable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Pipeline, :mailer do describe Ci::Pipeline, :mailer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::PipelineVariable do describe Ci::PipelineVariable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Runner do describe Ci::Runner do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Stage, :models do describe Ci::Stage, :models do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::TriggerRequest do describe Ci::TriggerRequest do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Trigger do describe Ci::Trigger do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::Variable do describe Ci::Variable do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::CertManager do describe Clusters::Applications::CertManager do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Helm do describe Clusters::Applications::Helm do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Ingress do describe Clusters::Applications::Ingress do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Jupyter do describe Clusters::Applications::Jupyter do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Knative do describe Clusters::Applications::Knative do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Prometheus do describe Clusters::Applications::Prometheus do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Clusters::Applications::Runner do describe Clusters::Applications::Runner do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching do describe Clusters::Platforms::Kubernetes, :use_clean_rails_memory_store_caching do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::Project do describe Clusters::Project do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::Providers::Gcp do describe Clusters::Providers::Gcp do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CommitCollection do describe CommitCollection do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CommitRange do describe CommitRange do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Commit do describe Commit do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CommitStatus do describe CommitStatus do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Compare do describe Compare do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe AccessRequestable do describe AccessRequestable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Avatarable do describe Avatarable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Awardable do describe Awardable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BatchDestroyDependentAssociations do describe BatchDestroyDependentAssociations do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe BlocksJsonSerialization do describe BlocksJsonSerialization do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CacheMarkdownField do describe CacheMarkdownField do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CacheableAttributes do describe CacheableAttributes do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CaseSensitivity do describe CaseSensitivity do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
shared_examples 'ChronicDurationAttribute reader' do shared_examples 'ChronicDurationAttribute reader' do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Deployable do describe Deployable do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe DeploymentPlatform do describe DeploymentPlatform do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DiscussionOnDiff do describe DiscussionOnDiff do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EachBatch do describe EachBatch do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Editable do describe Editable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Expirable do describe Expirable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe FasterCacheKeys do describe FasterCacheKeys do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe FeatureGate do describe FeatureGate do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GroupDescendant, :nested_groups do describe GroupDescendant, :nested_groups do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe HasStatus do describe HasStatus do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe HasVariable do describe HasVariable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe IgnorableColumn do describe IgnorableColumn do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Issuable do describe Issuable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe LoadedInGroupList do describe LoadedInGroupList do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ManualInverseAssociation do describe ManualInverseAssociation do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Mentionable do describe Mentionable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Milestone, 'Milestoneish' do describe Milestone, 'Milestoneish' do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Noteable do describe Noteable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Participable do describe Participable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Presentable do describe Presentable do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectFeaturesCompatibility do describe ProjectFeaturesCompatibility do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PrometheusAdapter, :use_clean_rails_memory_store_caching do describe PrometheusAdapter, :use_clean_rails_memory_store_caching do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProtectedRefAccess do describe ProtectedRefAccess do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ReactiveCaching, :use_clean_rails_memory_store_caching do describe ReactiveCaching, :use_clean_rails_memory_store_caching do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Redactable do describe Redactable 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.
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