merge_accounting_client 1.0.9 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +18 -4
- data/docs/Account.md +3 -1
- data/docs/AccountIntegration.md +4 -2
- data/docs/AccountingAttachment.md +3 -1
- data/docs/AccountingPeriod.md +30 -0
- data/docs/AccountingPeriodStatusEnum.md +15 -0
- data/docs/AccountingPeriodsApi.md +167 -0
- data/docs/AccountingPhoneNumber.md +2 -0
- data/docs/Address.md +2 -0
- data/docs/AddressRequest.md +34 -0
- data/docs/AuditLogEvent.md +32 -0
- data/docs/AuditTrailApi.md +91 -0
- data/docs/BalanceSheet.md +3 -1
- data/docs/CashFlowStatement.md +3 -1
- data/docs/CompanyInfo.md +3 -1
- data/docs/Contact.md +4 -2
- data/docs/ContactRequest.md +1 -1
- data/docs/ContactsApi.md +4 -0
- data/docs/CreditNote.md +8 -2
- data/docs/CreditNoteLineItem.md +6 -0
- data/docs/CreditNotesApi.md +2 -2
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/EventTypeEnum.md +15 -0
- data/docs/Expense.md +10 -2
- data/docs/ExpenseLine.md +8 -0
- data/docs/ExpenseLineRequest.md +2 -0
- data/docs/ExpenseRequest.md +7 -1
- data/docs/IncomeStatement.md +3 -1
- data/docs/Invoice.md +11 -1
- data/docs/InvoiceLineItem.md +5 -1
- data/docs/InvoiceRequest.md +4 -0
- data/docs/InvoiceStatusEnum.md +15 -0
- data/docs/InvoicesApi.md +2 -2
- data/docs/Issue.md +1 -1
- data/docs/Item.md +3 -1
- data/docs/JournalEntriesApi.md +2 -2
- data/docs/JournalEntry.md +9 -1
- data/docs/JournalEntryRequest.md +4 -0
- data/docs/JournalLine.md +10 -0
- data/docs/JournalLineRequest.md +4 -0
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +2 -2
- data/docs/PaginatedAccountingPeriodList.md +22 -0
- data/docs/PaginatedAuditLogEventList.md +22 -0
- data/docs/Payment.md +7 -1
- data/docs/PaymentLineItem.md +32 -0
- data/docs/PaymentLineItemRequest.md +30 -0
- data/docs/PaymentRequest.md +4 -0
- data/docs/PurchaseOrder.md +9 -3
- data/docs/PurchaseOrderLineItem.md +6 -0
- data/docs/PurchaseOrderRequest.md +2 -0
- data/docs/PurchaseOrdersApi.md +2 -2
- data/docs/ReportItem.md +2 -0
- data/docs/RoleEnum.md +15 -0
- data/docs/SyncStatusApi.md +1 -1
- data/docs/TaxRate.md +3 -1
- data/docs/TrackingCategory.md +3 -1
- data/docs/Transaction.md +7 -3
- data/docs/TransactionLineItem.md +6 -0
- data/docs/VendorCredit.md +6 -2
- data/docs/VendorCreditLine.md +6 -0
- data/docs/VendorCreditsApi.md +2 -2
- data/lib/merge_accounting_client/api/accounting_periods_api.rb +167 -0
- data/lib/merge_accounting_client/api/audit_trail_api.rb +95 -0
- data/lib/merge_accounting_client/api/contacts_api.rb +6 -0
- data/lib/merge_accounting_client/api/credit_notes_api.rb +2 -2
- data/lib/merge_accounting_client/api/expenses_api.rb +2 -2
- data/lib/merge_accounting_client/api/invoices_api.rb +2 -2
- data/lib/merge_accounting_client/api/journal_entries_api.rb +2 -2
- data/lib/merge_accounting_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_accounting_client/api/payments_api.rb +2 -2
- data/lib/merge_accounting_client/api/purchase_orders_api.rb +2 -2
- data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
- data/lib/merge_accounting_client/api/transactions_api.rb +2 -2
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +2 -2
- data/lib/merge_accounting_client/configuration.rb +4 -0
- data/lib/merge_accounting_client/models/account.rb +12 -3
- data/lib/merge_accounting_client/models/account_integration.rb +15 -4
- data/lib/merge_accounting_client/models/account_request.rb +1 -1
- data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -2
- data/lib/merge_accounting_client/models/accounting_period.rb +296 -0
- data/lib/merge_accounting_client/models/accounting_period_status_enum.rb +45 -0
- data/lib/merge_accounting_client/models/accounting_phone_number.rb +10 -1
- data/lib/merge_accounting_client/models/address.rb +10 -1
- data/lib/merge_accounting_client/models/address_request.rb +311 -0
- data/lib/merge_accounting_client/models/audit_log_event.rb +356 -0
- data/lib/merge_accounting_client/models/balance_sheet.rb +11 -2
- data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -2
- data/lib/merge_accounting_client/models/company_info.rb +12 -3
- data/lib/merge_accounting_client/models/contact.rb +13 -4
- data/lib/merge_accounting_client/models/contact_request.rb +2 -2
- data/lib/merge_accounting_client/models/credit_note.rb +35 -3
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +29 -1
- data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
- data/lib/merge_accounting_client/models/event_type_enum.rb +67 -0
- data/lib/merge_accounting_client/models/expense.rb +45 -3
- data/lib/merge_accounting_client/models/expense_line.rb +40 -1
- data/lib/merge_accounting_client/models/expense_line_request.rb +12 -1
- data/lib/merge_accounting_client/models/expense_request.rb +35 -2
- data/lib/merge_accounting_client/models/income_statement.rb +11 -2
- data/lib/merge_accounting_client/models/invoice.rb +55 -1
- data/lib/merge_accounting_client/models/invoice_line_item.rb +20 -1
- data/lib/merge_accounting_client/models/invoice_request.rb +23 -1
- data/lib/merge_accounting_client/models/invoice_status_enum.rb +49 -0
- data/lib/merge_accounting_client/models/item.rb +11 -2
- data/lib/merge_accounting_client/models/journal_entry.rb +60 -2
- data/lib/merge_accounting_client/models/journal_entry_request.rb +38 -1
- data/lib/merge_accounting_client/models/journal_line.rb +51 -1
- data/lib/merge_accounting_client/models/journal_line_request.rb +23 -1
- data/lib/merge_accounting_client/models/paginated_accounting_period_list.rb +240 -0
- data/lib/merge_accounting_client/models/paginated_audit_log_event_list.rb +240 -0
- data/lib/merge_accounting_client/models/payment.rb +34 -2
- data/lib/merge_accounting_client/models/payment_line_item.rb +308 -0
- data/lib/merge_accounting_client/models/payment_line_item_request.rb +319 -0
- data/lib/merge_accounting_client/models/payment_request.rb +24 -1
- data/lib/merge_accounting_client/models/purchase_order.rb +49 -3
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +29 -1
- data/lib/merge_accounting_client/models/purchase_order_request.rb +12 -1
- data/lib/merge_accounting_client/models/report_item.rb +10 -1
- data/lib/merge_accounting_client/models/role_enum.rb +49 -0
- data/lib/merge_accounting_client/models/tax_rate.rb +11 -2
- data/lib/merge_accounting_client/models/tracking_category.rb +12 -3
- data/lib/merge_accounting_client/models/transaction.rb +23 -3
- data/lib/merge_accounting_client/models/transaction_line_item.rb +29 -1
- data/lib/merge_accounting_client/models/vendor_credit.rb +23 -3
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +29 -1
- data/lib/merge_accounting_client/version.rb +1 -1
- data/lib/merge_accounting_client.rb +13 -9
- data/spec/api/accounting_periods_api_spec.rb +63 -0
- data/spec/api/audit_trail_api_spec.rb +51 -0
- data/spec/api/contacts_api_spec.rb +2 -0
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/models/account_integration_spec.rb +6 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/accounting_attachment_spec.rb +6 -0
- data/spec/models/accounting_period_spec.rb +70 -0
- data/spec/models/accounting_period_status_enum_spec.rb +28 -0
- data/spec/models/accounting_phone_number_spec.rb +6 -0
- data/spec/models/address_request_spec.rb +82 -0
- data/spec/models/address_spec.rb +6 -0
- data/spec/models/audit_log_event_spec.rb +76 -0
- data/spec/models/balance_sheet_spec.rb +6 -0
- data/spec/models/cash_flow_statement_spec.rb +6 -0
- data/spec/models/company_info_spec.rb +6 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/credit_note_line_item_spec.rb +18 -0
- data/spec/models/credit_note_spec.rb +18 -0
- data/spec/models/event_type_enum_spec.rb +28 -0
- data/spec/models/expense_line_request_spec.rb +6 -0
- data/spec/models/expense_line_spec.rb +24 -0
- data/spec/models/expense_request_spec.rb +18 -0
- data/spec/models/expense_spec.rb +24 -0
- data/spec/models/income_statement_spec.rb +6 -0
- data/spec/models/invoice_line_item_spec.rb +12 -0
- data/spec/models/invoice_request_spec.rb +12 -0
- data/spec/models/invoice_spec.rb +30 -0
- data/spec/models/invoice_status_enum_spec.rb +28 -0
- data/spec/models/item_spec.rb +6 -0
- data/spec/models/journal_entry_request_spec.rb +12 -0
- data/spec/models/journal_entry_spec.rb +24 -0
- data/spec/models/journal_line_request_spec.rb +12 -0
- data/spec/models/journal_line_spec.rb +30 -0
- data/spec/models/paginated_accounting_period_list_spec.rb +46 -0
- data/spec/models/paginated_audit_log_event_list_spec.rb +46 -0
- data/spec/models/payment_line_item_request_spec.rb +70 -0
- data/spec/models/payment_line_item_spec.rb +76 -0
- data/spec/models/payment_request_spec.rb +12 -0
- data/spec/models/payment_spec.rb +18 -0
- data/spec/models/purchase_order_line_item_spec.rb +18 -0
- data/spec/models/purchase_order_request_spec.rb +6 -0
- data/spec/models/purchase_order_spec.rb +18 -0
- data/spec/models/report_item_spec.rb +6 -0
- data/spec/models/role_enum_spec.rb +28 -0
- data/spec/models/tax_rate_spec.rb +6 -0
- data/spec/models/tracking_category_spec.rb +6 -0
- data/spec/models/transaction_line_item_spec.rb +18 -0
- data/spec/models/transaction_spec.rb +12 -0
- data/spec/models/vendor_credit_line_spec.rb +18 -0
- data/spec/models/vendor_credit_spec.rb +12 -0
- metadata +204 -152
@@ -32,11 +32,15 @@ require 'merge_accounting_client/models/accounting_attachment'
|
|
32
32
|
require 'merge_accounting_client/models/accounting_attachment_endpoint_request'
|
33
33
|
require 'merge_accounting_client/models/accounting_attachment_request'
|
34
34
|
require 'merge_accounting_client/models/accounting_attachment_response'
|
35
|
+
require 'merge_accounting_client/models/accounting_period'
|
36
|
+
require 'merge_accounting_client/models/accounting_period_status_enum'
|
35
37
|
require 'merge_accounting_client/models/accounting_phone_number'
|
36
38
|
require 'merge_accounting_client/models/accounting_phone_number_request'
|
37
39
|
require 'merge_accounting_client/models/address'
|
40
|
+
require 'merge_accounting_client/models/address_request'
|
38
41
|
require 'merge_accounting_client/models/address_type_enum'
|
39
42
|
require 'merge_accounting_client/models/async_passthrough_reciept'
|
43
|
+
require 'merge_accounting_client/models/audit_log_event'
|
40
44
|
require 'merge_accounting_client/models/available_actions'
|
41
45
|
require 'merge_accounting_client/models/balance_sheet'
|
42
46
|
require 'merge_accounting_client/models/cash_flow_statement'
|
@@ -44,13 +48,7 @@ require 'merge_accounting_client/models/categories_enum'
|
|
44
48
|
require 'merge_accounting_client/models/category_enum'
|
45
49
|
require 'merge_accounting_client/models/category_type_enum'
|
46
50
|
require 'merge_accounting_client/models/classification_enum'
|
47
|
-
require 'merge_accounting_client/models/common_model_scope_data'
|
48
51
|
require 'merge_accounting_client/models/common_model_scopes_body_request'
|
49
|
-
require 'merge_accounting_client/models/common_model_scopes_disabled_models_enabled_actions_enum'
|
50
|
-
require 'merge_accounting_client/models/common_model_scopes_disabled_models'
|
51
|
-
require 'merge_accounting_client/models/common_model_scopes_post_inner_deserializer_request'
|
52
|
-
require 'merge_accounting_client/models/common_model_scopes_update_serializer'
|
53
|
-
require 'merge_accounting_client/models/common_model_scopes'
|
54
52
|
require 'merge_accounting_client/models/company_info'
|
55
53
|
require 'merge_accounting_client/models/condition_schema'
|
56
54
|
require 'merge_accounting_client/models/condition_type_enum'
|
@@ -70,6 +68,7 @@ require 'merge_accounting_client/models/enabled_actions_enum'
|
|
70
68
|
require 'merge_accounting_client/models/encoding_enum'
|
71
69
|
require 'merge_accounting_client/models/end_user_details_request'
|
72
70
|
require 'merge_accounting_client/models/error_validation_problem'
|
71
|
+
require 'merge_accounting_client/models/event_type_enum'
|
73
72
|
require 'merge_accounting_client/models/expense'
|
74
73
|
require 'merge_accounting_client/models/expense_endpoint_request'
|
75
74
|
require 'merge_accounting_client/models/expense_line'
|
@@ -84,6 +83,7 @@ require 'merge_accounting_client/models/invoice_line_item'
|
|
84
83
|
require 'merge_accounting_client/models/invoice_line_item_request'
|
85
84
|
require 'merge_accounting_client/models/invoice_request'
|
86
85
|
require 'merge_accounting_client/models/invoice_response'
|
86
|
+
require 'merge_accounting_client/models/invoice_status_enum'
|
87
87
|
require 'merge_accounting_client/models/invoice_type_enum'
|
88
88
|
require 'merge_accounting_client/models/issue'
|
89
89
|
require 'merge_accounting_client/models/issue_status_enum'
|
@@ -109,6 +109,8 @@ require 'merge_accounting_client/models/operator_schema'
|
|
109
109
|
require 'merge_accounting_client/models/paginated_account_details_and_actions_list'
|
110
110
|
require 'merge_accounting_client/models/paginated_account_list'
|
111
111
|
require 'merge_accounting_client/models/paginated_accounting_attachment_list'
|
112
|
+
require 'merge_accounting_client/models/paginated_accounting_period_list'
|
113
|
+
require 'merge_accounting_client/models/paginated_audit_log_event_list'
|
112
114
|
require 'merge_accounting_client/models/paginated_balance_sheet_list'
|
113
115
|
require 'merge_accounting_client/models/paginated_cash_flow_statement_list'
|
114
116
|
require 'merge_accounting_client/models/paginated_company_info_list'
|
@@ -130,6 +132,8 @@ require 'merge_accounting_client/models/paginated_transaction_list'
|
|
130
132
|
require 'merge_accounting_client/models/paginated_vendor_credit_list'
|
131
133
|
require 'merge_accounting_client/models/payment'
|
132
134
|
require 'merge_accounting_client/models/payment_endpoint_request'
|
135
|
+
require 'merge_accounting_client/models/payment_line_item'
|
136
|
+
require 'merge_accounting_client/models/payment_line_item_request'
|
133
137
|
require 'merge_accounting_client/models/payment_request'
|
134
138
|
require 'merge_accounting_client/models/payment_response'
|
135
139
|
require 'merge_accounting_client/models/posting_status_enum'
|
@@ -140,7 +144,6 @@ require 'merge_accounting_client/models/purchase_order_line_item_request'
|
|
140
144
|
require 'merge_accounting_client/models/purchase_order_request'
|
141
145
|
require 'merge_accounting_client/models/purchase_order_response'
|
142
146
|
require 'merge_accounting_client/models/purchase_order_status_enum'
|
143
|
-
require 'merge_accounting_client/models/remote_data_request'
|
144
147
|
require 'merge_accounting_client/models/remote_data'
|
145
148
|
require 'merge_accounting_client/models/remote_key'
|
146
149
|
require 'merge_accounting_client/models/remote_key_for_regeneration_request'
|
@@ -148,8 +151,8 @@ require 'merge_accounting_client/models/remote_response'
|
|
148
151
|
require 'merge_accounting_client/models/report_item'
|
149
152
|
require 'merge_accounting_client/models/request_format_enum'
|
150
153
|
require 'merge_accounting_client/models/response_type_enum'
|
154
|
+
require 'merge_accounting_client/models/role_enum'
|
151
155
|
require 'merge_accounting_client/models/selective_sync_configurations_usage_enum'
|
152
|
-
require 'merge_accounting_client/models/state_enum'
|
153
156
|
require 'merge_accounting_client/models/status7d1_enum'
|
154
157
|
require 'merge_accounting_client/models/sync_status'
|
155
158
|
require 'merge_accounting_client/models/sync_status_status_enum'
|
@@ -167,14 +170,15 @@ require 'merge_accounting_client/models/webhook_receiver_request'
|
|
167
170
|
# APIs
|
168
171
|
require 'merge_accounting_client/api/account_details_api'
|
169
172
|
require 'merge_accounting_client/api/account_token_api'
|
173
|
+
require 'merge_accounting_client/api/accounting_periods_api'
|
170
174
|
require 'merge_accounting_client/api/accounts_api'
|
171
175
|
require 'merge_accounting_client/api/addresses_api'
|
172
176
|
require 'merge_accounting_client/api/async_passthrough_api'
|
173
177
|
require 'merge_accounting_client/api/attachments_api'
|
178
|
+
require 'merge_accounting_client/api/audit_trail_api'
|
174
179
|
require 'merge_accounting_client/api/available_actions_api'
|
175
180
|
require 'merge_accounting_client/api/balance_sheets_api'
|
176
181
|
require 'merge_accounting_client/api/cash_flow_statements_api'
|
177
|
-
require 'merge_accounting_client/api/common_model_scopes_api'
|
178
182
|
require 'merge_accounting_client/api/company_info_api'
|
179
183
|
require 'merge_accounting_client/api/contacts_api'
|
180
184
|
require 'merge_accounting_client/api/credit_notes_api'
|
@@ -0,0 +1,63 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MergeAccountingClient::AccountingPeriodsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AccountingPeriodsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeAccountingClient::AccountingPeriodsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AccountingPeriodsApi' do
|
30
|
+
it 'should create an instance of AccountingPeriodsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeAccountingClient::AccountingPeriodsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for accounting_periods_list
|
36
|
+
# Returns a list of `AccountingPeriod` objects.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :cursor The pagination cursor value.
|
40
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
41
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
43
|
+
# @return [PaginatedAccountingPeriodList]
|
44
|
+
describe 'accounting_periods_list test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for accounting_periods_retrieve
|
51
|
+
# Returns an `AccountingPeriod` object with the given `id`.
|
52
|
+
# @param x_account_token Token identifying the end user.
|
53
|
+
# @param id
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
56
|
+
# @return [AccountingPeriod]
|
57
|
+
describe 'accounting_periods_retrieve test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MergeAccountingClient::AuditTrailApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AuditTrailApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeAccountingClient::AuditTrailApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AuditTrailApi' do
|
30
|
+
it 'should create an instance of AuditTrailApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeAccountingClient::AuditTrailApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for audit_trail_list
|
36
|
+
# Gets a list of audit trail events.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :cursor The pagination cursor value.
|
39
|
+
# @option opts [String] :end_date If included, will only include audit trail events that occured before this time
|
40
|
+
# @option opts [String] :event_type If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`
|
41
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
42
|
+
# @option opts [String] :start_date If included, will only include audit trail events that occured after this time
|
43
|
+
# @option opts [String] :user_email If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
|
44
|
+
# @return [PaginatedAuditLogEventList]
|
45
|
+
describe 'audit_trail_list test' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
@@ -57,6 +57,8 @@ describe 'ContactsApi' do
|
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
58
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
|
+
# @option opts [String] :is_customer If provided, will only return Contacts that are denoted as customers.
|
61
|
+
# @option opts [String] :is_supplier If provided, will only return Contacts that are denoted as suppliers.
|
60
62
|
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
61
63
|
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
62
64
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -35,7 +35,7 @@ describe 'LinkedAccountsApi' do
|
|
35
35
|
# unit tests for linked_accounts_list
|
36
36
|
# List linked accounts for your organization.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
|
38
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage', 'datawarehouse') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `datawarehouse` - datawarehouse
|
39
39
|
# @option opts [String] :cursor The pagination cursor value.
|
40
40
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
41
41
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for sync_status_list
|
36
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`
|
36
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -73,4 +73,10 @@ describe MergeAccountingClient::AccountIntegration do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
describe 'test attribute "webhook_setup_guide_url"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
76
82
|
end
|
data/spec/models/account_spec.rb
CHANGED
@@ -103,6 +103,12 @@ describe MergeAccountingClient::Account do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "created_at"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
106
112
|
describe 'test attribute "modified_at"' do
|
107
113
|
it 'should work' do
|
108
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,6 +61,12 @@ describe MergeAccountingClient::AccountingAttachment do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
describe 'test attribute "created_at"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
64
70
|
describe 'test attribute "modified_at"' do
|
65
71
|
it 'should work' do
|
66
72
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,70 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MergeAccountingClient::AccountingPeriod
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeAccountingClient::AccountingPeriod do
|
21
|
+
let(:instance) { MergeAccountingClient::AccountingPeriod.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountingPeriod' do
|
24
|
+
it 'should create an instance of AccountingPeriod' do
|
25
|
+
expect(instance).to be_instance_of(MergeAccountingClient::AccountingPeriod)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "start_date"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "end_date"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "status"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "id"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "created_at"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "modified_at"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
@@ -0,0 +1,28 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MergeAccountingClient::AccountingPeriodStatusEnum
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeAccountingClient::AccountingPeriodStatusEnum do
|
21
|
+
let(:instance) { MergeAccountingClient::AccountingPeriodStatusEnum.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountingPeriodStatusEnum' do
|
24
|
+
it 'should create an instance of AccountingPeriodStatusEnum' do
|
25
|
+
expect(instance).to be_instance_of(MergeAccountingClient::AccountingPeriodStatusEnum)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -37,6 +37,12 @@ describe MergeAccountingClient::AccountingPhoneNumber do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
+
describe 'test attribute "created_at"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
40
46
|
describe 'test attribute "modified_at"' do
|
41
47
|
it 'should work' do
|
42
48
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,82 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MergeAccountingClient::AddressRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeAccountingClient::AddressRequest do
|
21
|
+
let(:instance) { MergeAccountingClient::AddressRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AddressRequest' do
|
24
|
+
it 'should create an instance of AddressRequest' do
|
25
|
+
expect(instance).to be_instance_of(MergeAccountingClient::AddressRequest)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "type"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "street_1"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "street_2"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "city"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "country_subdivision"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "country"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "zip_code"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "integration_params"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "linked_account_params"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
data/spec/models/address_spec.rb
CHANGED
@@ -73,6 +73,12 @@ describe MergeAccountingClient::Address do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
describe 'test attribute "created_at"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
76
82
|
describe 'test attribute "modified_at"' do
|
77
83
|
it 'should work' do
|
78
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,76 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MergeAccountingClient::AuditLogEvent
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeAccountingClient::AuditLogEvent do
|
21
|
+
let(:instance) { MergeAccountingClient::AuditLogEvent.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AuditLogEvent' do
|
24
|
+
it 'should create an instance of AuditLogEvent' do
|
25
|
+
expect(instance).to be_instance_of(MergeAccountingClient::AuditLogEvent)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "id"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "user_name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "user_email"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "role"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "ip_address"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "event_type"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "event_description"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "created_at"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
end
|
@@ -97,6 +97,12 @@ describe MergeAccountingClient::BalanceSheet do
|
|
97
97
|
end
|
98
98
|
end
|
99
99
|
|
100
|
+
describe 'test attribute "created_at"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
100
106
|
describe 'test attribute "modified_at"' do
|
101
107
|
it 'should work' do
|
102
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -109,6 +109,12 @@ describe MergeAccountingClient::CashFlowStatement do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
describe 'test attribute "created_at"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
112
118
|
describe 'test attribute "modified_at"' do
|
113
119
|
it 'should work' do
|
114
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -103,6 +103,12 @@ describe MergeAccountingClient::CompanyInfo do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "created_at"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
106
112
|
describe 'test attribute "modified_at"' do
|
107
113
|
it 'should work' do
|
108
114
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/contact_spec.rb
CHANGED
@@ -109,6 +109,12 @@ describe MergeAccountingClient::Contact do
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
describe 'test attribute "created_at"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
112
118
|
describe 'test attribute "modified_at"' do
|
113
119
|
it 'should work' do
|
114
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -103,6 +103,24 @@ describe MergeAccountingClient::CreditNoteLineItem do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "remote_was_deleted"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "id"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "created_at"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
106
124
|
describe 'test attribute "modified_at"' do
|
107
125
|
it 'should work' do
|
108
126
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|