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