debian-mirror-gitlab/spec/models/instance_metadata_spec.rb

14 lines
296 B
Ruby
Raw Normal View History

2021-01-29 00:20:46 +05:30
# 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-06-08 01:23:25 +05:30
revision: Gitlab.revision,
kas: kind_of(::InstanceMetadata::Kas)
2021-01-29 00:20:46 +05:30
)
end
end