summaryrefslogtreecommitdiff
path: root/spec/models/instance_metadata_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/instance_metadata_spec.rb')
-rw-r--r--spec/models/instance_metadata_spec.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/models/instance_metadata_spec.rb b/spec/models/instance_metadata_spec.rb
new file mode 100644
index 00000000000..1835dc8a9af
--- /dev/null
+++ b/spec/models/instance_metadata_spec.rb
@@ -0,0 +1,12 @@
+# 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,
+ revision: Gitlab.revision
+ )
+ end
+end