Sha256: eb5beadc8ca93b8e2c9df22d89db058a759f6daf34e6c83c95ed2700c3f3e8aa
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
require 'spec_helper' describe Gitlab::API do let(:default_headers) { subject.class.default_options[:headers] } describe ".default_options[:headers]" do it "has 'User-Agent'" do expect(default_headers).to include('User-Agent' => Gitlab::Configuration::DEFAULT_USER_AGENT) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gitlab-4.4.0 | spec/gitlab/api_spec.rb |
gitlab-4.3.0 | spec/gitlab/api_spec.rb |