Commit 302b7f59 authored by gfyoung's avatar gfyoung Committed by Thong Kuah

Enable frozen string for spec/requests

Partially addresses:

https://gitlab.com/gitlab-org/gitlab/issues/27703
parent 55a6e05a
# frozen_string_literal: true
require 'spec_helper'
describe API::AccessRequests do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Applications, :api do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Avatar do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::AwardEmoji do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Badges do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Boards do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Branches do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::BroadcastMessages do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::CommitStatuses do
......
# frozen_string_literal: true
require 'spec_helper'
require 'mime/types'
......
# frozen_string_literal: true
require 'spec_helper'
describe API::DeployKeys do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Discussions do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'doorkeeper access' do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Environments do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Events do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Features do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Files do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'GitlabSchema configurations' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Setting WIP status of a merge request' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'getting an issue list for a project' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'getting merge request information nested in a project' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'getting project information' do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::GroupBoards do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::GroupMilestones do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::GroupVariables do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Groups do
......
# frozen_string_literal: true
require 'spec_helper'
require 'raven/transports/dummy'
require_relative '../../../config/initializers/sentry'
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ImportGithub do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Internal::Base do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Jobs do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Keys do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Labels do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Lint do
......
# frozen_string_literal: true
require "spec_helper"
describe API::Markdown do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Members do
......@@ -24,7 +26,7 @@ describe API::Members do
shared_examples 'GET /:source_type/:id/members/(all)' do |source_type, all|
let(:members_url) do
"/#{source_type.pluralize}/#{source.id}/members".tap do |url|
(+"/#{source_type.pluralize}/#{source.id}/members").tap do |url|
url << "/all" if all
end
end
......
# frozen_string_literal: true
require "spec_helper"
describe API::MergeRequestDiffs, 'MergeRequestDiffs' do
......
# frozen_string_literal: true
require "spec_helper"
describe API::MergeRequests do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Namespaces do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Notes do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::NotificationSettings do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'OAuth tokens' do
......
# frozen_string_literal: true
require 'spec_helper'
describe "Internal Project Pages Access" do
......
# frozen_string_literal: true
require 'spec_helper'
describe "Private Project Pages Access" do
......
# frozen_string_literal: true
require 'spec_helper'
describe "Public Project Pages Access" do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::PagesDomains do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::PipelineSchedules do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectContainerRepositories do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectEvents do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectExport do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectHooks, 'ProjectHooks' do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectImport do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectMilestones do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectSnapshots do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectSnippets do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProjectTemplates do
......
# frozen_string_literal: true
require 'spec_helper'
shared_examples 'languages and percentages JSON response' do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProtectedBranches do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::ProtectedTags do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Releases do
......
# frozen_string_literal: true
require 'spec_helper'
require 'mime/types'
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Runner, :clean_gitlab_redis_shared_state do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Runners do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Search do
......
# frozen_string_literal: true
require "spec_helper"
describe API::Services do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Settings, 'Settings' do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::SidekiqMetrics do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Snippets do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::SystemHooks do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Tags do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Templates do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Todos do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Triggers do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Users do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Variables do
......
# frozen_string_literal: true
require 'spec_helper'
describe API::Version do
......
# frozen_string_literal: true
require 'spec_helper'
# For every API endpoint we test 3 states of wikis:
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Git HTTP requests' do
......
# frozen_string_literal: true
require 'spec_helper'
describe Groups::MilestonesController do
......
# frozen_string_literal: true
require 'spec_helper'
describe JwtController do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Git LFS File Locking API' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'OAuth Tokens requests' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'OpenID Connect requests' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'cycle analytics events' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Rack Attack global throttles' do
......
# frozen_string_literal: true
require 'spec_helper'
describe 'Request Profiler' 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