Codebase list ruby-gitlab / debian/4.5.0-2 spec / gitlab / api_spec.rb
debian/4.5.0-2

Tree @debian/4.5.0-2 (Download .tar.gz)

api_spec.rb @debian/4.5.0-2raw · history · blame

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