2020-11-10 19:08:58 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'fast_spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe InstanceMetadata do
|
|
|
|
it 'has the correct properties' do
|
|
|
|
expect(subject).to have_attributes(
|
|
|
|
version: Gitlab::VERSION,
|
2021-05-05 11:10:05 -04:00
|
|
|
revision: Gitlab.revision,
|
|
|
|
kas: kind_of(::InstanceMetadata::Kas)
|
2020-11-10 19:08:58 -05:00
|
|
|
)
|
|
|
|
end
|
|
|
|
end
|