Commit 0e0a5738 authored by ddavison's avatar ddavison

Update outer describe block for internal QA tests 2/2

parent 380d09a8
# frozen_string_literal: true
module QA
context 'Framework sanity checks', :orchestrated, :framework do
RSpec.describe 'Framework sanity checks', :orchestrated, :framework do
describe 'Passing orchestrated example' do
it 'succeeds' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
......
# frozen_string_literal: true
describe QA::Runtime::API::Request do
RSpec.describe QA::Runtime::API::Request do
let(:client) { QA::Runtime::API::Client.new('http://example.com') }
let(:request) { described_class.new(client, '/users') }
......
# frozen_string_literal: true
describe QA::Runtime::Key::ECDSA do
RSpec.describe QA::Runtime::Key::ECDSA do
describe '#public_key' do
[256, 384, 521].each do |bits|
it "generates a public #{bits}-bits ECDSA key" do
......
# frozen_string_literal: true
describe QA::Runtime::Key::ED25519 do
RSpec.describe QA::Runtime::Key::ED25519 do
describe '#public_key' do
subject { described_class.new.public_key }
......
# frozen_string_literal: true
describe QA::Runtime::Key::RSA do
RSpec.describe QA::Runtime::Key::RSA do
describe '#public_key' do
subject { described_class.new.public_key }
......
# frozen_string_literal: true
describe QA::Scenario::Actable do
RSpec.describe QA::Scenario::Actable do
subject do
Class.new do
include QA::Scenario::Actable
......
# frozen_string_literal: true
describe QA::Scenario::Bootable do
RSpec.describe QA::Scenario::Bootable do
subject do
Class.new(QA::Scenario::Template)
.include(described_class)
......
# frozen_string_literal: true
describe QA::Scenario::Template do
RSpec.describe QA::Scenario::Template do
let(:feature) { spy('Runtime::Feature') }
let(:release) { spy('Runtime::Release') }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Instance::Airgapped do
RSpec.describe QA::Scenario::Test::Instance::Airgapped do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
end
......
# frozen_string_literal: true
describe QA::Scenario::Test::Instance::All do
RSpec.describe QA::Scenario::Test::Instance::All do
it_behaves_like 'a QA scenario class'
end
# frozen_string_literal: true
describe QA::Scenario::Test::Instance::Smoke do
RSpec.describe QA::Scenario::Test::Instance::Smoke do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:smoke] }
end
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::Github do
RSpec.describe QA::Scenario::Test::Integration::Github do
describe '#perform' do
let(:env) { spy('Runtime::Env') }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::InstanceSAML do
RSpec.describe QA::Scenario::Test::Integration::InstanceSAML do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:instance_saml] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::Kubernetes do
RSpec.describe QA::Scenario::Test::Integration::Kubernetes do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:kubernetes] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::LDAPNoTLS do
RSpec.describe QA::Scenario::Test::Integration::LDAPNoTLS do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:ldap_no_tls] }
......@@ -8,7 +8,7 @@ describe QA::Scenario::Test::Integration::LDAPNoTLS do
end
end
describe QA::Scenario::Test::Integration::LDAPNoServer do
RSpec.describe QA::Scenario::Test::Integration::LDAPNoServer do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:ldap_no_server] }
......@@ -16,7 +16,7 @@ describe QA::Scenario::Test::Integration::LDAPNoServer do
end
end
describe QA::Scenario::Test::Integration::LDAPTLS do
RSpec.describe QA::Scenario::Test::Integration::LDAPTLS do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:ldap_tls] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::Mattermost do
RSpec.describe QA::Scenario::Test::Integration::Mattermost do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:args) { %w[gitlab_address mattermost_address] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Integration::ObjectStorage do
RSpec.describe QA::Scenario::Test::Integration::ObjectStorage do
describe '#perform' do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:object_storage] }
......
# frozen_string_literal: true
describe QA::Scenario::Test::Sanity::Framework do
RSpec.describe QA::Scenario::Test::Sanity::Framework do
it_behaves_like 'a QA scenario class' do
let(:tags) { [:framework] }
end
......
# frozen_string_literal: true
describe QA::Scenario::Test::Sanity::Selectors do
RSpec.describe QA::Scenario::Test::Sanity::Selectors do
let(:validator) { spy('validator') }
before do
......
......@@ -36,7 +36,7 @@ RSpec.configure do |c|
end
end
describe QA::Specs::Helpers::Quarantine do
RSpec.describe QA::Specs::Helpers::Quarantine do
describe '.skip_or_run_quarantined_contexts' do
context 'with no tag focused' do
before do
......
# frozen_string_literal: true
describe QA::Specs::ParallelRunner do
RSpec.describe QA::Specs::ParallelRunner do
include Helpers::StubENV
before do
......
......@@ -2,7 +2,7 @@
require 'active_support/core_ext/hash'
describe QA::Specs::Runner do
RSpec.describe QA::Specs::Runner do
shared_examples 'excludes orchestrated' do
it 'excludes the orchestrated tag and includes default args' do
expect_rspec_runner_arguments(['--tag', '~orchestrated', *described_class::DEFAULT_TEST_PATH_ARGS])
......
......@@ -4,7 +4,7 @@ require 'logger'
require 'timecop'
require 'active_support/core_ext/integer/time'
describe QA::Support::Repeater do
RSpec.describe QA::Support::Repeater do
before do
logger = ::Logger.new $stdout
logger.level = ::Logger::DEBUG
......
......@@ -3,7 +3,7 @@
require 'logger'
require 'timecop'
describe QA::Support::Retrier do
RSpec.describe QA::Support::Retrier do
before do
logger = ::Logger.new $stdout
logger.level = ::Logger::DEBUG
......
# frozen_string_literal: true
describe QA::Support::WaitForRequests do
RSpec.describe QA::Support::WaitForRequests do
describe '.wait_for_requests' do
before do
allow(subject).to receive(:finished_all_ajax_requests?).and_return(true)
......
......@@ -2,7 +2,7 @@
require 'logger'
describe QA::Support::Waiter do
RSpec.describe QA::Support::Waiter do
before do
logger = ::Logger.new $stdout
logger.level = ::Logger::DEBUG
......
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