Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ begin
task default: :spec

# Clean up the .bak files generated from awk.
task clean: do
task :clean do
sh "pwsh -File scripts/clean.ps1"
end

# Remove license header in *.rb files.
task format: do
task :format do
sh "pwsh -File scripts/format.ps1"
end

Expand Down
42 changes: 21 additions & 21 deletions spec/api/accounting_batches_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Unit tests for ConnectWise::AccountingBatchesApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'AccountingBatchesApi' do
RSpec.describe 'AccountingBatchesApi' do
before do
# run before each test
@instance = ConnectWise::AccountingBatchesApi.new
Expand All @@ -22,10 +22,10 @@
end

# unit tests for finance_accounting_batches_count_get
#
#
# Get Batches Count
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :conditions
# @return [Count]
describe 'finance_accounting_batches_count_get test' do
it "should work" do
Expand All @@ -34,15 +34,15 @@
end

# unit tests for finance_accounting_batches_get
#
#
# Get Batches
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @return [Array<AccountingBatch>]
describe 'finance_accounting_batches_get test' do
it "should work" do
Expand All @@ -51,9 +51,9 @@
end

# unit tests for finance_accounting_batches_id_delete
#
#
# Delete Batch By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [nil]
describe 'finance_accounting_batches_id_delete test' do
Expand All @@ -63,10 +63,10 @@
end

# unit tests for finance_accounting_batches_id_export_post
#
#
# Re-export the payload data from an existing batch (RecreateBatch in SOAP)
# @param id
# @param batch_export_parameters
# @param id
# @param batch_export_parameters
# @param [Hash] opts the optional parameters
# @return [GLExport]
describe 'finance_accounting_batches_id_export_post test' do
Expand All @@ -76,9 +76,9 @@
end

# unit tests for finance_accounting_batches_id_get
#
#
# Get Batch By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [AccountingBatch]
describe 'finance_accounting_batches_id_get test' do
Expand All @@ -88,9 +88,9 @@
end

# unit tests for finance_accounting_batches_post
#
#
# Creates the Accounting Batch and updates GL Records (UpdateBatch in SOAP)
# @param accounting_batch_parameters
# @param accounting_batch_parameters
# @param [Hash] opts the optional parameters
# @return [GLExport]
describe 'finance_accounting_batches_post test' do
Expand All @@ -100,9 +100,9 @@
end

# unit tests for finance_accounting_export_post
#
#
# Exports accouting batch payload based on parameters (CreateBatch in SOAP)
# @param batch_export_parameters
# @param batch_export_parameters
# @param [Hash] opts the optional parameters
# @return [GLExport]
describe 'finance_accounting_export_post test' do
Expand Down
24 changes: 12 additions & 12 deletions spec/api/accounting_packages_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Unit tests for ConnectWise::AccountingPackagesApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'AccountingPackagesApi' do
RSpec.describe 'AccountingPackagesApi' do
before do
# run before each test
@instance = ConnectWise::AccountingPackagesApi.new
Expand All @@ -22,10 +22,10 @@
end

# unit tests for system_accounting_packages_count_get
#
#
# Get Accounting Packages Count
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :conditions
# @return [Count]
describe 'system_accounting_packages_count_get test' do
it "should work" do
Expand All @@ -34,15 +34,15 @@
end

# unit tests for system_accounting_packages_get
#
#
# Get Accounting Packages
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @return [Array<AccountingPackage>]
describe 'system_accounting_packages_get test' do
it "should work" do
Expand All @@ -51,9 +51,9 @@
end

# unit tests for system_accounting_packages_id_get
#
#
# Get Accounting Package By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [AccountingPackage]
describe 'system_accounting_packages_id_get test' do
Expand Down
24 changes: 12 additions & 12 deletions spec/api/accounting_unposted_expenses_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Unit tests for ConnectWise::AccountingUnpostedExpensesApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'AccountingUnpostedExpensesApi' do
RSpec.describe 'AccountingUnpostedExpensesApi' do
before do
# run before each test
@instance = ConnectWise::AccountingUnpostedExpensesApi.new
Expand All @@ -22,10 +22,10 @@
end

# unit tests for finance_accounting_unpostedexpenses_count_get
#
#
# Get Unposted Expenses Count
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :conditions
# @return [Count]
describe 'finance_accounting_unpostedexpenses_count_get test' do
it "should work" do
Expand All @@ -34,15 +34,15 @@
end

# unit tests for finance_accounting_unpostedexpenses_get
#
#
# Get Unposted Expenses
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @return [Array<UnpostedExpense>]
describe 'finance_accounting_unpostedexpenses_get test' do
it "should work" do
Expand All @@ -51,9 +51,9 @@
end

# unit tests for finance_accounting_unpostedexpenses_id_get
#
#
# Get Unposted Expense By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [UnpostedExpense]
describe 'finance_accounting_unpostedexpenses_id_get test' do
Expand Down
24 changes: 12 additions & 12 deletions spec/api/accounting_unposted_procurements_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Unit tests for ConnectWise::AccountingUnpostedProcurementsApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'AccountingUnpostedProcurementsApi' do
RSpec.describe 'AccountingUnpostedProcurementsApi' do
before do
# run before each test
@instance = ConnectWise::AccountingUnpostedProcurementsApi.new
Expand All @@ -22,10 +22,10 @@
end

# unit tests for finance_accounting_unpostedprocurement_count_get
#
#
# Get Unposted Procurements Count
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :conditions
# @return [Count]
describe 'finance_accounting_unpostedprocurement_count_get test' do
it "should work" do
Expand All @@ -34,15 +34,15 @@
end

# unit tests for finance_accounting_unpostedprocurement_get
#
#
# Get Unposted Procurements
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @return [Array<UnpostedProcurement>]
describe 'finance_accounting_unpostedprocurement_get test' do
it "should work" do
Expand All @@ -51,9 +51,9 @@
end

# unit tests for finance_accounting_unpostedprocurement_id_get
#
#
# Get Unposted Procurement By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [UnpostedProcurement]
describe 'finance_accounting_unpostedprocurement_id_get test' do
Expand Down
24 changes: 12 additions & 12 deletions spec/api/accounting_unpostedinvoices_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Unit tests for ConnectWise::AccountingUnpostedinvoicesApi
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
# Please update as you see appropriate
describe 'AccountingUnpostedinvoicesApi' do
RSpec.describe 'AccountingUnpostedinvoicesApi' do
before do
# run before each test
@instance = ConnectWise::AccountingUnpostedinvoicesApi.new
Expand All @@ -22,10 +22,10 @@
end

# unit tests for finance_accounting_unpostedinvoices_count_get
#
#
# Get Unposted Invoices Count
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :conditions
# @return [Count]
describe 'finance_accounting_unpostedinvoices_count_get test' do
it "should work" do
Expand All @@ -34,15 +34,15 @@
end

# unit tests for finance_accounting_unpostedinvoices_get
#
#
# Get Unposted Invoices
# @param [Hash] opts the optional parameters
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @option opts [String] :conditions
# @option opts [String] :order_by
# @option opts [String] :childconditions
# @option opts [String] :customfieldconditions
# @option opts [Integer] :page
# @option opts [Integer] :page_size
# @return [Array<UnpostedInvoice>]
describe 'finance_accounting_unpostedinvoices_get test' do
it "should work" do
Expand All @@ -51,9 +51,9 @@
end

# unit tests for finance_accounting_unpostedinvoices_id_get
#
#
# Get Unposted Invoice By Id
# @param id
# @param id
# @param [Hash] opts the optional parameters
# @return [UnpostedInvoice]
describe 'finance_accounting_unpostedinvoices_id_get test' do
Expand Down
Loading