test/unit/models/organisation_test.rb in xeroizer-2.20.0 vs test/unit/models/organisation_test.rb in xeroizer-3.0.0
- old
+ new
@@ -1,11 +1,11 @@
-require 'test_helper'
+require 'unit_test_helper'
class OrganisationTest < Test::Unit::TestCase
include TestHelper
def setup
- @client = Xeroizer::PublicApplication.new(CONSUMER_KEY, CONSUMER_SECRET)
+ @client = Xeroizer::OAuth2Application.new(CLIENT_ID, CLIENT_SECRET)
end
context "sales_tax_basis_validations" do
should "allow nil sales tax bases and countries" do
organisation = @client.Organisation.build