Sha256: 5a63153c1b953a92baffc9694bc426753438da2e08a6310d4f4f941cf286ef4d

Contents?: true

Size: 542 Bytes

Versions: 10

Compression:

Stored size: 542 Bytes

Contents

require 'test_helper'

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

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

  context "initialization" do

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

    should "pass unitdp value" do
      assert_equal(@unitdp, @client.unitdp)
    end

  end

end


Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
xeroizer-2.20.0 test/unit/generic_application_test.rb
xeroizer-2.19.0 test/unit/generic_application_test.rb
xeroizer-2.18.1 test/unit/generic_application_test.rb
xeroizer-2.17.1 test/unit/generic_application_test.rb
xeroizer-2.16.5 test/unit/generic_application_test.rb
xeroizer-2.16.4 test/unit/generic_application_test.rb
xeroizer-2.16.3 test/unit/generic_application_test.rb
xeroizer-2.16.1 test/unit/generic_application_test.rb
xeroizer-2.16.0 test/unit/generic_application_test.rb
xeroizer-2.15.9 test/unit/generic_application_test.rb