debian-mirror-gitlab/spec/lib/version_check_spec.rb
2021-06-08 01:23:25 +05:30

11 lines
277 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe VersionCheck do
describe '.url' do
it 'returns the correct URL' do
expect(described_class.url).to match(%r{\A#{Regexp.escape(described_class.host)}/check\.svg\?gitlab_info=\w+})
end
end
end