Commit 56e25167 authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'frozen_string_literal_qa' into 'master'

Add frozen_string_literal to qa/

See merge request gitlab-org/gitlab-ee!10850
parents 9235dcd5 1a60d926
# frozen_string_literal: true
module QA module QA
module CE module CE
module Strategy module Strategy
......
# frozen_string_literal: true
module QA module QA
## ##
# GitLab EE extensions # GitLab EE extensions
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Page module Page
......
# frozen_string_literal: true
# Prepended onto ::QA::Runtime::Env # Prepended onto ::QA::Runtime::Env
module QA module QA
module EE module EE
......
# frozen_string_literal: true
# EE-only singleton # EE-only singleton
module QA module QA
module EE module EE
......
# frozen_string_literal: true
require 'net/http' require 'net/http'
require 'json' require 'json'
......
# frozen_string_literal: true
module QA module QA
module EE module EE
module Strategy module Strategy
......
# frozen_string_literal: true
require 'uri' require 'uri'
require 'forwardable' require 'forwardable'
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Component module Component
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Component module Component
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Dashboard module Dashboard
......
# frozen_string_literal: true
module QA module QA
module Page module Page
class Element class Element
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module File module File
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module File module File
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module File module File
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Group module Group
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Issuable module Issuable
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Label module Label
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Layout module Layout
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Main module Main
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Main module Main
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Mattermost module Mattermost
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Mattermost module Mattermost
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module MergeRequest module MergeRequest
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Profile module Profile
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA::Page module QA::Page
module Project::Pipeline module Project::Pipeline
class Index < QA::Page::Base class Index < QA::Page::Base
......
# frozen_string_literal: true
module QA::Page module QA::Page
module Project::Pipeline module Project::Pipeline
class Show < QA::Page::Base class Show < QA::Page::Base
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
module QA # rubocop:disable Naming/FileName # rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA
module Page module Page
module Project module Project
module Settings module Settings
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Project module Project
......
# frozen_string_literal: true
module QA module QA
module Page module Page
module Settings module Settings
......
# frozen_string_literal: true
module QA module QA
module Page module Page
class Validator class Validator
......
# frozen_string_literal: true
require 'pathname' require 'pathname'
module QA module QA
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
class Address class Address
......
# frozen_string_literal: true
require 'airborne' require 'airborne'
module QA module QA
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module API module API
......
# frozen_string_literal: true
require 'rspec/core' require 'rspec/core'
require 'rspec/expectations' require 'rspec/expectations'
require 'capybara/rspec' require 'capybara/rspec'
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module Key module Key
......
# rubocop:disable Naming/FileName # rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module Key module Key
......
# rubocop:disable Naming/FileName # rubocop:disable Naming/FileName
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module Key module Key
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module Key module Key
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module Namespace module Namespace
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
## ##
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
## ##
......
# frozen_string_literal: true
module QA module QA
module Runtime module Runtime
module User module User
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Actable module Actable
......
# frozen_string_literal: true
require 'optparse' require 'optparse'
module QA module QA
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
class Template class Template
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
module QA module QA
module Scenario module Scenario
module Test module Test
......
# frozen_string_literal: true
require 'securerandom' require 'securerandom'
require 'mkmf' require 'mkmf'
require 'pathname' require 'pathname'
......
# frozen_string_literal: true
module QA module QA
module Service module Service
class Omnibus class Omnibus
......
# frozen_string_literal: true
require 'securerandom' require 'securerandom'
module QA module QA
......
# frozen_string_literal: true
require 'open3' require 'open3'
module QA module QA
......
# frozen_string_literal: true
require 'securerandom' require 'securerandom'
module QA module QA
......
# frozen_string_literal: true
module QA module QA
context 'Manage', :smoke do context 'Manage', :smoke do
describe 'basic user login' do describe 'basic user login' do
......
# frozen_string_literal: true
require 'rspec/core' require 'rspec/core'
require 'rspec/expectations' require 'rspec/expectations'
......
# frozen_string_literal: true
module QA module QA
module Support module Support
module Api module Api
......
# frozen_string_literal: true
describe ::QA::EE::Runtime::Geo do describe ::QA::EE::Runtime::Geo do
describe '.max_db_replication_time' do describe '.max_db_replication_time' do
subject { described_class.max_db_replication_time } subject { described_class.max_db_replication_time }
......
# frozen_string_literal: true
describe QA::Git::Location do describe QA::Git::Location do
describe '.new' do describe '.new' do
context 'when URI starts with ssh://' do context 'when URI starts with ssh://' do
......
# frozen_string_literal: true
describe QA::Git::Repository do describe QA::Git::Repository do
include Helpers::StubENV include Helpers::StubENV
......
# frozen_string_literal: true
# Inspired by https://github.com/ljkbennett/stub_env/blob/master/lib/stub_env/helpers.rb # Inspired by https://github.com/ljkbennett/stub_env/blob/master/lib/stub_env/helpers.rb
module Helpers module Helpers
module StubENV module StubENV
......
# frozen_string_literal: true
describe QA::Page::Base do describe QA::Page::Base do
describe 'page helpers' do describe 'page helpers' do
it 'exposes helpful page helpers' do it 'exposes helpful page helpers' do
......
# frozen_string_literal: true
describe QA::Page::Element do describe QA::Page::Element do
describe '#selector' do describe '#selector' do
it 'transforms element name into QA-specific selector' do it 'transforms element name into QA-specific selector' do
......
# frozen_string_literal: true
describe QA::Page::Validator do describe QA::Page::Validator do
describe '#constants' do describe '#constants' do
subject do subject do
......
# frozen_string_literal: true
describe QA::Page::View do describe QA::Page::View do
let(:element) do let(:element) do
double('element', name: :something, pattern: /some element/) double('element', name: :something, pattern: /some element/)
......
# frozen_string_literal: true
describe QA::Runtime::API::Client do describe QA::Runtime::API::Client do
include Helpers::StubENV include Helpers::StubENV
......
# frozen_string_literal: true
describe QA::Runtime::API::Request do describe QA::Runtime::API::Request do
let(:client) { QA::Runtime::API::Client.new('http://example.com') } let(:client) { QA::Runtime::API::Client.new('http://example.com') }
let(:request) { described_class.new(client, '/users') } let(:request) { described_class.new(client, '/users') }
......
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