Commit d51c6208 authored by Thong Kuah's avatar Thong Kuah

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

Enable frozen string for spec/finders

See merge request gitlab-org/gitlab!18619
parents c8d98d07 2bf90aca
# frozen_string_literal: true
require 'spec_helper'
require 'omniauth/strategies/saml'
......
# frozen_string_literal: true
require 'spec_helper'
require 'tempfile'
......@@ -424,8 +426,8 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
it 'loads job trace' do
expect(page).to have_content 'BUILD TRACE'
job.trace.write('a+b') do |stream|
stream.append(' and more trace', 11)
job.trace.write(+'a+b') do |stream|
stream.append(+' and more trace', 11)
end
expect(page).to have_content 'BUILD TRACE and more trace'
......
# frozen_string_literal: true
require 'spec_helper'
describe AccessRequestsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Admin::ProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Autocomplete::MoveToProjectFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe Autocomplete::UsersFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe BranchesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe ClustersFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe FinderMethods do
......
# frozen_string_literal: true
require 'spec_helper'
describe FinderWithCrossProjectAccess do
......
# frozen_string_literal: true
require 'spec_helper'
describe ContributedProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe EnvironmentsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe EventsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe ForkProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe GroupDescendantsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe GroupMembersFinder, '#execute' do
......
# frozen_string_literal: true
require 'spec_helper'
describe GroupProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe GroupsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe IssuesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe JoinedGroupsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe LabelsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe LicenseTemplateFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe MembersFinder, '#execute' do
......
# frozen_string_literal: true
require 'spec_helper'
describe MergeRequestTargetProjectFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe MergeRequestsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe MilestonesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe NotesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe PersonalAccessTokensFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe PersonalProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe PipelineSchedulesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe PipelinesFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe ProjectsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe RunnerJobsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe SnippetsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe TagsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe TemplateFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe TodosFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe UserRecentEventsFinder do
......
# frozen_string_literal: true
require 'spec_helper'
describe UsersFinder 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