budgea_client 3.0.1 → 4.0.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/Gemfile.lock +1 -1
- data/budgea_openapi.json +6 -4
- data/docs/Connector.md +1 -0
- data/lib/budgea_client/models/connector.rb +15 -4
- data/lib/budgea_client/version.rb +1 -1
- data/pkg/budgea_client-3.0.1.gem +0 -0
- data/spec/api/administration_api_spec.rb +225 -23
- data/spec/api/authentication_api_spec.rb +81 -11
- data/spec/api/banks_api_spec.rb +379 -236
- data/spec/api/connections_api_spec.rb +76 -39
- data/spec/api/documents_api_spec.rb +124 -114
- data/spec/api/ocr_api_spec.rb +13 -3
- data/spec/api/oidc_api_spec.rb +14 -4
- data/spec/api/pfm_api_spec.rb +61 -51
- data/spec/api/providers_api_spec.rb +260 -238
- data/spec/api/recipients_api_spec.rb +23 -9
- data/spec/api/terms_api_spec.rb +17 -8
- data/spec/api/transfers_api_spec.rb +88 -57
- data/spec/api/users_management_api_spec.rb +25 -15
- data/spec/api/wealth_api_spec.rb +150 -24
- data/spec/api_client_spec.rb +45 -35
- data/spec/configuration_spec.rb +19 -9
- data/spec/models/access_spec.rb +16 -7
- data/spec/models/account_log_spec.rb +21 -12
- data/spec/models/account_spec.rb +59 -20
- data/spec/models/account_type_spec.rb +19 -10
- data/spec/models/alert_spec.rb +19 -10
- data/spec/models/category_spec.rb +21 -12
- data/spec/models/client_spec.rb +25 -28
- data/spec/models/connection_log_spec.rb +38 -17
- data/spec/models/connection_spec.rb +33 -12
- data/spec/models/connector_logo_spec.rb +16 -7
- data/spec/models/connector_spec.rb +18 -0
- data/spec/models/currency_spec.rb +38 -5
- data/spec/models/device_spec.rb +18 -9
- data/spec/models/document_spec.rb +37 -34
- data/spec/models/document_type_spec.rb +14 -5
- data/spec/models/field_spec.rb +32 -11
- data/spec/models/field_value_spec.rb +13 -4
- data/spec/models/file_spec.rb +15 -6
- data/spec/models/group_spec.rb +19 -10
- data/spec/models/hash_table_spec.rb +15 -6
- data/spec/models/inline_response_200_10_spec.rb +19 -4
- data/spec/models/inline_response_200_11_spec.rb +19 -4
- data/spec/models/inline_response_200_12_spec.rb +19 -4
- data/spec/models/inline_response_200_13_spec.rb +19 -4
- data/spec/models/inline_response_200_14_spec.rb +19 -4
- data/spec/models/inline_response_200_15_spec.rb +19 -4
- data/spec/models/inline_response_200_16_spec.rb +19 -4
- data/spec/models/inline_response_200_17_spec.rb +19 -4
- data/spec/models/inline_response_200_18_spec.rb +19 -4
- data/spec/models/inline_response_200_19_spec.rb +13 -4
- data/spec/models/inline_response_200_1_spec.rb +13 -4
- data/spec/models/inline_response_200_20_spec.rb +19 -4
- data/spec/models/inline_response_200_21_spec.rb +19 -4
- data/spec/models/inline_response_200_22_spec.rb +19 -4
- data/spec/models/inline_response_200_23_spec.rb +19 -4
- data/spec/models/inline_response_200_24_spec.rb +19 -4
- data/spec/models/inline_response_200_25_spec.rb +19 -4
- data/spec/models/inline_response_200_26_spec.rb +19 -4
- data/spec/models/inline_response_200_27_spec.rb +19 -4
- data/spec/models/inline_response_200_28_spec.rb +19 -4
- data/spec/models/inline_response_200_29_spec.rb +19 -4
- data/spec/models/inline_response_200_2_spec.rb +14 -5
- data/spec/models/inline_response_200_30_spec.rb +19 -4
- data/spec/models/inline_response_200_31_spec.rb +19 -4
- data/spec/models/inline_response_200_32_spec.rb +19 -4
- data/spec/models/inline_response_200_33_spec.rb +19 -4
- data/spec/models/inline_response_200_34_spec.rb +7 -1
- data/spec/models/inline_response_200_35_spec.rb +7 -1
- data/spec/models/inline_response_200_36_spec.rb +7 -1
- data/spec/models/inline_response_200_37_spec.rb +7 -1
- data/spec/models/inline_response_200_38_spec.rb +7 -1
- data/spec/models/inline_response_200_3_spec.rb +15 -12
- data/spec/models/inline_response_200_4_spec.rb +14 -17
- data/spec/models/inline_response_200_5_spec.rb +33 -6
- data/spec/models/inline_response_200_6_spec.rb +15 -12
- data/spec/models/inline_response_200_7_spec.rb +25 -4
- data/spec/models/inline_response_200_8_spec.rb +19 -4
- data/spec/models/inline_response_200_9_spec.rb +19 -4
- data/spec/models/inline_response_200_spec.rb +18 -3
- data/spec/models/investment_spec.rb +36 -27
- data/spec/models/investment_value_spec.rb +17 -8
- data/spec/models/invite_spec.rb +17 -8
- data/spec/models/locked_user_spec.rb +14 -5
- data/spec/models/oidc_whitelist_spec.rb +13 -4
- data/spec/models/pocket_spec.rb +21 -12
- data/spec/models/profile_spec.rb +23 -14
- data/spec/models/project_spec.rb +20 -11
- data/spec/models/project_type_spec.rb +14 -5
- data/spec/models/recipient_log_spec.rb +6 -0
- data/spec/models/recipient_spec.rb +44 -17
- data/spec/models/security_spec.rb +16 -7
- data/spec/models/subscription_spec.rb +28 -13
- data/spec/models/terms_of_service_spec.rb +16 -7
- data/spec/models/transaction_information_spec.rb +15 -6
- data/spec/models/transaction_spec.rb +71 -32
- data/spec/models/transactions_cluster_spec.rb +20 -11
- data/spec/models/transfer_log_spec.rb +6 -0
- data/spec/models/transfer_spec.rb +33 -18
- data/spec/models/user_alert_spec.rb +25 -16
- data/spec/models/user_spec.rb +18 -9
- data/spec/models/webhook_spec.rb +31 -10
- data/spec/spec_helper.rb +62 -2
- metadata +3 -14
- data/docs/Bank.md +0 -20
- data/docs/BankCategory.md +0 -9
- data/docs/ConnectionContact.md +0 -17
- data/lib/budgea_client/models/bank.rb +0 -335
- data/lib/budgea_client/models/bank_category.rb +0 -206
- data/lib/budgea_client/models/connection_contact.rb +0 -274
- data/spec/models/bank_category_spec.rb +0 -38
- data/spec/models/bank_spec.rb +0 -92
- data/spec/models/connection_contact_spec.rb +0 -86
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,57 +34,56 @@ describe 'TransactionsCluster' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "id_account"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "mean_amount"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "median_increment"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "enabled"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "next_date"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "wording"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
74
|
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
describe 'test attribute "id_category"' do
|
|
68
78
|
it 'should work' do
|
|
69
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
80
|
end
|
|
71
81
|
end
|
|
72
82
|
|
|
73
83
|
describe 'test attribute "created_by"' do
|
|
74
84
|
it 'should work' do
|
|
75
|
-
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
76
86
|
end
|
|
77
87
|
end
|
|
78
88
|
|
|
79
89
|
end
|
|
80
|
-
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,99 +34,104 @@ describe 'Transfer' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "id_account"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
describe 'test attribute "id_user"' do
|
|
48
|
+
it 'should work' do
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
50
|
end
|
|
35
51
|
end
|
|
36
52
|
|
|
37
53
|
describe 'test attribute "id_recipient"' do
|
|
38
54
|
it 'should work' do
|
|
39
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
56
|
end
|
|
41
57
|
end
|
|
42
58
|
|
|
43
59
|
describe 'test attribute "account_iban"' do
|
|
44
60
|
it 'should work' do
|
|
45
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
62
|
end
|
|
47
63
|
end
|
|
48
64
|
|
|
49
65
|
describe 'test attribute "recipient_iban"' do
|
|
50
66
|
it 'should work' do
|
|
51
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
68
|
end
|
|
53
69
|
end
|
|
54
70
|
|
|
55
71
|
describe 'test attribute "exec_date"' do
|
|
56
72
|
it 'should work' do
|
|
57
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
74
|
end
|
|
59
75
|
end
|
|
60
76
|
|
|
61
77
|
describe 'test attribute "register_date"' do
|
|
62
78
|
it 'should work' do
|
|
63
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
80
|
end
|
|
65
81
|
end
|
|
66
82
|
|
|
67
83
|
describe 'test attribute "amount"' do
|
|
68
84
|
it 'should work' do
|
|
69
|
-
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
86
|
end
|
|
71
87
|
end
|
|
72
88
|
|
|
73
89
|
describe 'test attribute "fees"' do
|
|
74
90
|
it 'should work' do
|
|
75
|
-
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
76
92
|
end
|
|
77
93
|
end
|
|
78
94
|
|
|
79
95
|
describe 'test attribute "webid"' do
|
|
80
96
|
it 'should work' do
|
|
81
|
-
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
98
|
end
|
|
83
99
|
end
|
|
84
100
|
|
|
85
101
|
describe 'test attribute "state"' do
|
|
86
102
|
it 'should work' do
|
|
87
|
-
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
104
|
end
|
|
89
105
|
end
|
|
90
106
|
|
|
91
107
|
describe 'test attribute "error"' do
|
|
92
108
|
it 'should work' do
|
|
93
|
-
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
110
|
end
|
|
95
111
|
end
|
|
96
112
|
|
|
97
113
|
describe 'test attribute "label"' do
|
|
98
114
|
it 'should work' do
|
|
99
|
-
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
116
|
end
|
|
101
117
|
end
|
|
102
118
|
|
|
103
119
|
describe 'test attribute "account_balance"' do
|
|
104
120
|
it 'should work' do
|
|
105
|
-
|
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
122
|
end
|
|
107
123
|
end
|
|
108
124
|
|
|
109
125
|
describe 'test attribute "id_transaction"' do
|
|
110
126
|
it 'should work' do
|
|
111
|
-
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
112
128
|
end
|
|
113
129
|
end
|
|
114
130
|
|
|
115
131
|
describe 'test attribute "currency"' do
|
|
116
132
|
it 'should work' do
|
|
117
|
-
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
118
134
|
end
|
|
119
135
|
end
|
|
120
136
|
|
|
121
137
|
end
|
|
122
|
-
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,87 +34,86 @@ describe 'UserAlert' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "income_max"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "expense_max"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "balance_min1"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "balance_min2"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "balance_max"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "resume_enabled"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
74
|
end
|
|
65
75
|
end
|
|
66
76
|
|
|
67
77
|
describe 'test attribute "enabled"' do
|
|
68
78
|
it 'should work' do
|
|
69
|
-
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
80
|
end
|
|
71
81
|
end
|
|
72
82
|
|
|
73
83
|
describe 'test attribute "value_type"' do
|
|
74
84
|
it 'should work' do
|
|
75
|
-
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
76
86
|
end
|
|
77
87
|
end
|
|
78
88
|
|
|
79
89
|
describe 'test attribute "type"' do
|
|
80
90
|
it 'should work' do
|
|
81
|
-
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
92
|
end
|
|
83
93
|
end
|
|
84
94
|
|
|
85
95
|
describe 'test attribute "transaction_types"' do
|
|
86
96
|
it 'should work' do
|
|
87
|
-
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
98
|
end
|
|
89
99
|
end
|
|
90
100
|
|
|
91
101
|
describe 'test attribute "date_range"' do
|
|
92
102
|
it 'should work' do
|
|
93
|
-
|
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
94
104
|
end
|
|
95
105
|
end
|
|
96
106
|
|
|
97
107
|
describe 'test attribute "apply"' do
|
|
98
108
|
it 'should work' do
|
|
99
|
-
|
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
100
110
|
end
|
|
101
111
|
end
|
|
102
112
|
|
|
103
113
|
describe 'test attribute "resume_frequency"' do
|
|
104
114
|
it 'should work' do
|
|
105
|
-
|
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
106
116
|
end
|
|
107
117
|
end
|
|
108
118
|
|
|
109
119
|
end
|
|
110
|
-
|
data/spec/models/user_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,25 +34,24 @@ describe 'User' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "signin"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "platform"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["web", "iPad", "iPhone", "Android", "CAstore", "requestAccess", "sharedAccess", "transfer"])
|
|
51
|
+
# validator.allowable_values.each do |value|
|
|
52
|
+
# expect { @instance.platform = value }.not_to raise_error
|
|
53
|
+
# end
|
|
44
54
|
end
|
|
45
55
|
end
|
|
46
56
|
|
|
47
57
|
end
|
|
48
|
-
|
data/spec/models/webhook_spec.rb
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
=begin
|
|
2
|
+
#Budgea API Documentation
|
|
3
|
+
|
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
5
|
+
|
|
6
|
+
OpenAPI spec version: 2.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
|
+
Swagger Codegen version: 2.4.1
|
|
10
|
+
|
|
11
|
+
=end
|
|
2
12
|
|
|
3
13
|
require 'spec_helper'
|
|
4
14
|
require 'json'
|
|
@@ -24,51 +34,62 @@ describe 'Webhook' do
|
|
|
24
34
|
end
|
|
25
35
|
describe 'test attribute "id"' do
|
|
26
36
|
it 'should work' do
|
|
27
|
-
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
28
38
|
end
|
|
29
39
|
end
|
|
30
40
|
|
|
31
41
|
describe 'test attribute "created"' do
|
|
32
42
|
it 'should work' do
|
|
33
|
-
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
34
44
|
end
|
|
35
45
|
end
|
|
36
46
|
|
|
37
47
|
describe 'test attribute "updated"' do
|
|
38
48
|
it 'should work' do
|
|
39
|
-
|
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
40
50
|
end
|
|
41
51
|
end
|
|
42
52
|
|
|
43
53
|
describe 'test attribute "deleted"' do
|
|
44
54
|
it 'should work' do
|
|
45
|
-
|
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
46
56
|
end
|
|
47
57
|
end
|
|
48
58
|
|
|
49
59
|
describe 'test attribute "id_service"' do
|
|
50
60
|
it 'should work' do
|
|
51
|
-
|
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
52
62
|
end
|
|
53
63
|
end
|
|
54
64
|
|
|
55
65
|
describe 'test attribute "id_user"' do
|
|
56
66
|
it 'should work' do
|
|
57
|
-
|
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
58
68
|
end
|
|
59
69
|
end
|
|
60
70
|
|
|
61
71
|
describe 'test attribute "id_event"' do
|
|
62
72
|
it 'should work' do
|
|
63
|
-
|
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
describe 'test attribute "id_auth"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
64
80
|
end
|
|
65
81
|
end
|
|
66
82
|
|
|
67
83
|
describe 'test attribute "url"' do
|
|
68
84
|
it 'should work' do
|
|
69
|
-
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
70
86
|
end
|
|
71
87
|
end
|
|
72
88
|
|
|
73
|
-
|
|
89
|
+
describe 'test attribute "add_to_data"' do
|
|
90
|
+
it 'should work' do
|
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
92
|
+
end
|
|
93
|
+
end
|
|
74
94
|
|
|
95
|
+
end
|