debian-mirror-gitlab/spec/graphql/resolvers/metadata_resolver_spec.rb
2020-08-09 17:41:57 +05:30

13 lines
308 B
Ruby

# 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 eq(version: Gitlab::VERSION, revision: Gitlab.revision)
end
end
end