Commit d6b952ad authored by Thong Kuah's avatar Thong Kuah Committed by Douglas Barbosa Alexandre

Add frozen_string_literal to spec/workers

Adds `# frozen_string_literal: true` to spec/workers ruby files
parent 8813447c
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe AdminEmailWorker do describe AdminEmailWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ArchiveTraceWorker do describe ArchiveTraceWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe AuthorizedProjectsWorker do describe AuthorizedProjectsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BackgroundMigrationWorker, :sidekiq, :clean_gitlab_redis_shared_state do describe BackgroundMigrationWorker, :sidekiq, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BuildCoverageWorker do describe BuildCoverageWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BuildFinishedWorker do describe BuildFinishedWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BuildHooksWorker do describe BuildHooksWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BuildSuccessWorker do describe BuildSuccessWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BuildTraceSectionsWorker do describe BuildTraceSectionsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::ArchiveTracesCronWorker do describe Ci::ArchiveTracesCronWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildScheduleWorker do describe Ci::BuildScheduleWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ClusterProvisionWorker do describe ClusterProvisionWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ClusterWaitForIngressIpAddressWorker do describe ClusterWaitForIngressIpAddressWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ApplicationWorker do describe ApplicationWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ClusterQueue do describe ClusterQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CronjobQueue do describe CronjobQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::NotifyUponDeath do describe Gitlab::GithubImport::NotifyUponDeath do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ObjectImporter do describe Gitlab::GithubImport::ObjectImporter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Queue do describe Gitlab::GithubImport::Queue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ReschedulingMethods do describe Gitlab::GithubImport::ReschedulingMethods do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::StageMethods do describe Gitlab::GithubImport::StageMethods do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineBackgroundQueue do describe PipelineBackgroundQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineQueue do describe PipelineQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectImportOptions do describe ProjectImportOptions do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryCheckQueue do describe RepositoryCheckQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe WaitableWorker do describe WaitableWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CreateGpgSignatureWorker do describe CreateGpgSignatureWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CreateNoteDiffFileWorker do describe CreateNoteDiffFileWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe CreatePipelineWorker do describe CreatePipelineWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DeleteDiffFilesWorker do describe DeleteDiffFilesWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DeleteMergedBranchesWorker do describe DeleteMergedBranchesWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DeleteUserWorker do describe DeleteUserWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Deployments::SuccessWorker do describe Deployments::SuccessWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DetectRepositoryLanguagesWorker do describe DetectRepositoryLanguagesWorker do
......
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe EmailReceiverWorker, :mailer do describe EmailReceiverWorker, :mailer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EmailsOnPushWorker, :mailer do describe EmailsOnPushWorker, :mailer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe 'Every Sidekiq worker' do describe 'Every Sidekiq worker' do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ExpireBuildArtifactsWorker do describe ExpireBuildArtifactsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ExpireBuildInstanceArtifactsWorker do describe ExpireBuildInstanceArtifactsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ExpireJobCacheWorker do describe ExpireJobCacheWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ExpirePipelineCacheWorker do describe ExpirePipelineCacheWorker do
......
# frozen_string_literal: true
require 'fileutils' require 'fileutils'
require 'spec_helper' require 'spec_helper'
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::AdvanceStageWorker, :clean_gitlab_redis_shared_state do describe Gitlab::GithubImport::AdvanceStageWorker, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ImportDiffNoteWorker do describe Gitlab::GithubImport::ImportDiffNoteWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ImportIssueWorker do describe Gitlab::GithubImport::ImportIssueWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ImportNoteWorker do describe Gitlab::GithubImport::ImportNoteWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::ImportPullRequestWorker do describe Gitlab::GithubImport::ImportPullRequestWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::RefreshImportJidWorker do describe Gitlab::GithubImport::RefreshImportJidWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::FinishImportWorker do describe Gitlab::GithubImport::Stage::FinishImportWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportBaseDataWorker do describe Gitlab::GithubImport::Stage::ImportBaseDataWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportIssuesAndDiffNotesWorker do describe Gitlab::GithubImport::Stage::ImportIssuesAndDiffNotesWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportLfsObjectsWorker do describe Gitlab::GithubImport::Stage::ImportLfsObjectsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportNotesWorker do describe Gitlab::GithubImport::Stage::ImportNotesWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportPullRequestsWorker do describe Gitlab::GithubImport::Stage::ImportPullRequestsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Gitlab::GithubImport::Stage::ImportRepositoryWorker do describe Gitlab::GithubImport::Stage::ImportRepositoryWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GitlabShellWorker do describe GitlabShellWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GitlabUsagePingWorker do describe GitlabUsagePingWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GroupDestroyWorker do describe GroupDestroyWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe HashedStorage::MigratorWorker do describe HashedStorage::MigratorWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe HashedStorage::ProjectMigrateWorker, :clean_gitlab_redis_shared_state do describe HashedStorage::ProjectMigrateWorker, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe InvalidGpgSignatureUpdateWorker do describe InvalidGpgSignatureUpdateWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe IssueDueSchedulerWorker do describe IssueDueSchedulerWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe MailScheduler::IssueDueWorker do describe MailScheduler::IssueDueWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe MailScheduler::NotificationServiceWorker do describe MailScheduler::NotificationServiceWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe MergeWorker do describe MergeWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NamespacelessProjectDestroyWorker do describe NamespacelessProjectDestroyWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NewIssueWorker do describe NewIssueWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NewMergeRequestWorker do describe NewMergeRequestWorker do
......
# frozen_string_literal: true
require "spec_helper" require "spec_helper"
describe NewNoteWorker do describe NewNoteWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PagesDomainVerificationCronWorker do describe PagesDomainVerificationCronWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PagesDomainVerificationWorker do describe PagesDomainVerificationWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineHooksWorker do describe PipelineHooksWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineMetricsWorker do describe PipelineMetricsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineNotificationWorker, :mailer do describe PipelineNotificationWorker, :mailer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineProcessWorker do describe PipelineProcessWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineScheduleWorker do describe PipelineScheduleWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineSuccessWorker do describe PipelineSuccessWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PipelineUpdateWorker do describe PipelineUpdateWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PluginWorker do describe PluginWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PostReceive do describe PostReceive do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProcessCommitWorker do describe ProcessCommitWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectCacheWorker do describe ProjectCacheWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectDestroyWorker do describe ProjectDestroyWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectExportWorker do describe ProjectExportWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PropagateServiceTemplateWorker do describe PropagateServiceTemplateWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PruneOldEventsWorker do describe PruneOldEventsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe PruneWebHookLogsWorker do describe PruneWebHookLogsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ReactiveCachingWorker do describe ReactiveCachingWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RebaseWorker, '#perform' do describe RebaseWorker, '#perform' do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RemoteMirrorNotificationWorker, :mailer do describe RemoteMirrorNotificationWorker, :mailer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RemoveExpiredGroupLinksWorker do describe RemoveExpiredGroupLinksWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RemoveExpiredMembersWorker do describe RemoveExpiredMembersWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RemoveUnreferencedLfsObjectsWorker do describe RemoveUnreferencedLfsObjectsWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryCheck::BatchWorker do describe RepositoryCheck::BatchWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryCheck::ClearWorker do describe RepositoryCheck::ClearWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryCheck::DispatchWorker do describe RepositoryCheck::DispatchWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
require 'fileutils' require 'fileutils'
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryCleanupWorker do describe RepositoryCleanupWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryForkWorker do describe RepositoryForkWorker do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe RepositoryImportWorker do describe RepositoryImportWorker do
......
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