Commit f540ffce authored by Thong Kuah's avatar Thong Kuah

Add frozen_string_literal to spec/lib (part 1)

Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
parent 9e91ae15
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe AfterCommitQueue do describe AfterCommitQueue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::API do describe API::API do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::Helpers::CustomValidators do describe API::Helpers::CustomValidators do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::Helpers::Pagination do describe API::Helpers::Pagination do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::Helpers::RelatedResourcesHelpers do describe API::Helpers::RelatedResourcesHelpers do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::Helpers::Version do describe API::Helpers::Version do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe API::Helpers do describe API::Helpers do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Backup::Files do describe Backup::Files do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Backup::Manager do describe Backup::Manager do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Backup::Repository do describe Backup::Repository do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Backup::Uploads do describe Backup::Uploads do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ColorParser do describe Banzai::ColorParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::CommitRenderer do describe Banzai::CommitRenderer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::CrossProjectReference do describe Banzai::CrossProjectReference do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::AbsoluteLinkFilter do describe Banzai::Filter::AbsoluteLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::AbstractReferenceFilter do describe Banzai::Filter::AbstractReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::AsciiDocPostProcessingFilter do describe Banzai::Filter::AsciiDocPostProcessingFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::AutolinkFilter do describe Banzai::Filter::AutolinkFilter do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Filter::BlockquoteFenceFilter do describe Banzai::Filter::BlockquoteFenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ColorFilter, lib: true do describe Banzai::Filter::ColorFilter, lib: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::CommitRangeReferenceFilter do describe Banzai::Filter::CommitRangeReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::CommitReferenceFilter do describe Banzai::Filter::CommitReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
require 'ffaker' require 'ffaker'
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::EmojiFilter do describe Banzai::Filter::EmojiFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ExternalIssueReferenceFilter do describe Banzai::Filter::ExternalIssueReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
shared_examples 'an external link with rel attribute' do shared_examples 'an external link with rel attribute' do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Filter::FrontMatterFilter do describe Banzai::Filter::FrontMatterFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::GollumTagsFilter do describe Banzai::Filter::GollumTagsFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::HtmlEntityFilter do describe Banzai::Filter::HtmlEntityFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ImageLazyLoadFilter do describe Banzai::Filter::ImageLazyLoadFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ImageLinkFilter do describe Banzai::Filter::ImageLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::InlineDiffFilter do describe Banzai::Filter::InlineDiffFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::IssuableStateFilter do describe Banzai::Filter::IssuableStateFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::IssueReferenceFilter do describe Banzai::Filter::IssueReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
require 'html/pipeline' require 'html/pipeline'
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::MarkdownFilter do describe Banzai::Filter::MarkdownFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::MathFilter do describe Banzai::Filter::MathFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::MergeRequestReferenceFilter do describe Banzai::Filter::MergeRequestReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::MermaidFilter do describe Banzai::Filter::MermaidFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::MilestoneReferenceFilter do describe Banzai::Filter::MilestoneReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::PlantumlFilter do describe Banzai::Filter::PlantumlFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ReferenceFilter do describe Banzai::Filter::ReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::ReferenceRedactorFilter do describe Banzai::Filter::ReferenceRedactorFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::RelativeLinkFilter do describe Banzai::Filter::RelativeLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::SanitizationFilter do describe Banzai::Filter::SanitizationFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::SnippetReferenceFilter do describe Banzai::Filter::SnippetReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::SpacedLinkFilter do describe Banzai::Filter::SpacedLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::SyntaxHighlightFilter do describe Banzai::Filter::SyntaxHighlightFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::TableOfContentsFilter do describe Banzai::Filter::TableOfContentsFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::UserReferenceFilter do describe Banzai::Filter::UserReferenceFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::VideoLinkFilter do describe Banzai::Filter::VideoLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Filter::WikiLinkFilter do describe Banzai::Filter::WikiLinkFilter do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::FilterArray do describe Banzai::FilterArray do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::IssuableExtractor do describe Banzai::IssuableExtractor do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ObjectRenderer do describe Banzai::ObjectRenderer do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Pipeline::DescriptionPipeline do describe Banzai::Pipeline::DescriptionPipeline do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Pipeline::EmailPipeline do describe Banzai::Pipeline::EmailPipeline do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Pipeline::FullPipeline do describe Banzai::Pipeline::FullPipeline do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Pipeline::GfmPipeline do describe Banzai::Pipeline::GfmPipeline do
......
# frozen_string_literal: true
require 'rails_helper' require 'rails_helper'
describe Banzai::Pipeline::WikiPipeline do describe Banzai::Pipeline::WikiPipeline do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Querying do describe Banzai::Querying do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::BaseParser do describe Banzai::ReferenceParser::BaseParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::CommitParser do describe Banzai::ReferenceParser::CommitParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::CommitRangeParser do describe Banzai::ReferenceParser::CommitRangeParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::ExternalIssueParser do describe Banzai::ReferenceParser::ExternalIssueParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::IssueParser do describe Banzai::ReferenceParser::IssueParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::LabelParser do describe Banzai::ReferenceParser::LabelParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::MergeRequestParser do describe Banzai::ReferenceParser::MergeRequestParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::MilestoneParser do describe Banzai::ReferenceParser::MilestoneParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::SnippetParser do describe Banzai::ReferenceParser::SnippetParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceParser::UserParser do describe Banzai::ReferenceParser::UserParser do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::ReferenceRedactor do describe Banzai::ReferenceRedactor do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Banzai::Renderer do describe Banzai::Renderer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
# Emulates paginator. It returns 2 pages with results # Emulates paginator. It returns 2 pages with results
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Connection do describe Bitbucket::Connection do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Page do describe Bitbucket::Page do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Paginator do describe Bitbucket::Paginator do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::Comment do describe Bitbucket::Representation::Comment do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::Issue do describe Bitbucket::Representation::Issue do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::PullRequestComment do describe Bitbucket::Representation::PullRequestComment do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::PullRequest do describe Bitbucket::Representation::PullRequest do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::Repo do describe Bitbucket::Representation::Repo do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Bitbucket::Representation::User do describe Bitbucket::Representation::User do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Client do describe BitbucketServer::Client do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Connection do describe BitbucketServer::Connection do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Page do describe BitbucketServer::Page do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Paginator do describe BitbucketServer::Paginator do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Representation::Activity do describe BitbucketServer::Representation::Activity do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Representation::Comment do describe BitbucketServer::Representation::Comment do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Representation::PullRequestComment do describe BitbucketServer::Representation::PullRequestComment do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Representation::PullRequest do describe BitbucketServer::Representation::PullRequest do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BitbucketServer::Representation::Repo do describe BitbucketServer::Representation::Repo do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Constraints::FeatureConstrainer do describe Constraints::FeatureConstrainer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Constraints::GroupUrlConstrainer do describe Constraints::GroupUrlConstrainer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Constraints::ProjectUrlConstrainer do describe Constraints::ProjectUrlConstrainer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Constraints::UserUrlConstrainer do describe Constraints::UserUrlConstrainer do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ContainerRegistry::Blob do describe ContainerRegistry::Blob do
......
# coding: utf-8 # coding: utf-8
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ContainerRegistry::Client do describe ContainerRegistry::Client do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ContainerRegistry::Path do describe ContainerRegistry::Path do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ContainerRegistry::Registry do describe ContainerRegistry::Registry 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.
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