Sha256: 55228b1a9e4f94b0530df789507695029efe2d08b56118ba9fcfaddd173adf90

Contents?: true

Size: 419 Bytes

Versions: 3

Compression:

Stored size: 419 Bytes

Contents

require 'test_helper'

class GenericApplicationTest < Test::Unit::TestCase
  include TestHelper

  def setup
    @headers = {"User-Agent" => "Xeroizer/2.15.5"}
    @client = Xeroizer::GenericApplication.new(CONSUMER_KEY, CONSUMER_SECRET, :default_headers => @headers)
  end

  context "initialization" do

    should "pass default headers" do
      assert_equal(@headers, @client.default_headers)
    end

  end

end


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xeroizer-2.15.8 test/unit/generic_application_test.rb
xeroizer-2.15.7 test/unit/generic_application_test.rb
xeroizer-2.15.6 test/unit/generic_application_test.rb