Welcome to mirror list, hosted at ThFree Co, Russian Federation.

runner_platforms_resolver_spec.rb « ci « resolvers « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da6a84cec4493e39148b6d90d23f8effdfc55601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Resolvers::Ci::RunnerPlatformsResolver, feature_category: :runner_fleet do
  include GraphqlHelpers

  describe '#resolve' do
    subject(:resolve_subject) { resolve(described_class) }

    it 'returns all possible runner platforms' do
      expect(resolve_subject).to contain_exactly(
        hash_including(name: :linux), hash_including(name: :osx),
        hash_including(name: :windows), hash_including(name: :docker),
        hash_including(name: :kubernetes), hash_including(name: :aws)
      )
    end
  end
end