gitlab-org--gitlab-foss/spec/graphql/resolvers/metadata_resolver_spec.rb
2019-03-05 15:00:32 +00:00

11 lines
271 B
Ruby

require 'spec_helper'
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