Commit f3765965 authored by Thong Kuah's avatar Thong Kuah

Merge branch 'frozen-string-enable-spec-policies' into 'master'

Enable frozen string for spec/policies

See merge request gitlab-org/gitlab!19073
parents cc40f9bf 16dc96e4
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ApplicationSetting::TermPolicy do describe ApplicationSetting::TermPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe BasePolicy do describe BasePolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::BuildPolicy do describe Ci::BuildPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::PipelinePolicy, :models do describe Ci::PipelinePolicy, :models do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::PipelineSchedulePolicy, :models do describe Ci::PipelineSchedulePolicy, :models do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Ci::TriggerPolicy do describe Ci::TriggerPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe Clusters::ClusterPolicy, :models do describe Clusters::ClusterPolicy, :models do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DeployKeyPolicy do describe DeployKeyPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe DeployTokenPolicy do describe DeployTokenPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe EnvironmentPolicy do describe EnvironmentPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GlobalPolicy do describe GlobalPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe GroupPolicy do describe GroupPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe IssuablePolicy, models: true do describe IssuablePolicy, models: true do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe IssuePolicy do describe IssuePolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe MergeRequestPolicy do describe MergeRequestPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NamespacePolicy do describe NamespacePolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe NotePolicy do describe NotePolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
# Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb # Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProjectPolicy do describe ProjectPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
# Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb # Snippet visibility scenarios are included in more details in spec/support/snippet_visibility.rb
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ProtectedBranchPolicy do describe ProtectedBranchPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe ResourceLabelEventPolicy do describe ResourceLabelEventPolicy do
......
# frozen_string_literal: true
require 'spec_helper' require 'spec_helper'
describe UserPolicy do describe UserPolicy 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