summaryrefslogtreecommitdiff
path: root/spec/lib/version_check_spec.rb
blob: 23c381e241e00a688989cc233a22adbb6f525b18 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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