debian-mirror-gitlab/spec/graphql/resolvers/metadata_resolver_spec.rb

12 lines
271 B
Ruby
Raw Normal View History

2019-05-18 00:54:41 +05:30
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