blob: 56875e185e7682b0cf2d5d9ae71e20bcaf1dc420 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Resolvers::MetadataResolver do
include GraphqlHelpers
describe '#resolve' do
it 'returns version and revision' do
expect(resolve(described_class)).to have_attributes(
version: Gitlab::VERSION,
revision: Gitlab.revision,
kas: kind_of(InstanceMetadata::Kas))
end
end
end
|