test/unit/models/manual_journal_test.rb in xeroizer-2.20.0 vs test/unit/models/manual_journal_test.rb in xeroizer-3.0.0

- old
+ new

@@ -1,12 +1,12 @@ -require 'test_helper' +require 'unit_test_helper' class ManualJournalTest < Test::Unit::TestCase include TestHelper def setup - @client = Xeroizer::PublicApplication.new(CONSUMER_KEY, CONSUMER_SECRET) + @client = Xeroizer::OAuth2Application.new(CLIENT_ID, CLIENT_SECRET) mock_api('ManualJournals') end context "paging" do should "have journal lines without downloading full manual journal when paging" do @@ -20,6 +20,6 @@ # This indicates that there wasn't a separate download of the individual manual journal. assert_equal(false, manual_journal.complete_record_downloaded?) end end end -end \ No newline at end of file +end