phrase 2.6.0 → 2.7.2
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 +32 -22
- data/docs/BlacklistedKeyCreateParameters.md +1 -1
- data/docs/BlacklistedKeyUpdateParameters.md +1 -1
- data/docs/BlacklistedKeysApi.md +20 -20
- data/docs/DistributionCreateParameters.md +2 -0
- data/docs/DistributionUpdateParameters.md +2 -0
- data/docs/GlossariesApi.md +20 -20
- data/docs/GlossaryTermTranslationsApi.md +12 -12
- data/docs/GlossaryTermsApi.md +20 -20
- data/docs/Invitation.md +3 -3
- data/docs/JobComment.md +29 -0
- data/docs/JobCommentCreateParameters.md +17 -0
- data/docs/JobCommentUpdateParameters.md +17 -0
- data/docs/JobCommentsApi.md +343 -0
- data/docs/JobCreateParameters.md +3 -1
- data/docs/JobsApi.md +130 -0
- data/docs/KeyCreateParameters.md +2 -0
- data/docs/Locale.md +2 -0
- data/docs/LocaleCreateParameters.md +2 -0
- data/docs/LocaleDetails.md +2 -0
- data/docs/LocaleUpdateParameters.md +2 -0
- data/docs/Member.md +1 -1
- data/docs/ScreenshotsApi.md +12 -6
- data/docs/StyleguideCreateParameters.md +1 -1
- data/docs/StyleguideUpdateParameters.md +1 -1
- data/docs/{Team1.md → TeamShort.md} +2 -2
- data/docs/VersionsHistoryApi.md +1 -1
- data/lib/phrase/api/blacklisted_keys_api.rb +20 -20
- data/lib/phrase/api/glossaries_api.rb +20 -20
- data/lib/phrase/api/glossary_term_translations_api.rb +12 -12
- data/lib/phrase/api/glossary_terms_api.rb +20 -20
- data/lib/phrase/api/job_comments_api.rb +411 -0
- data/lib/phrase/api/jobs_api.rb +146 -0
- data/lib/phrase/api/screenshots_api.rb +17 -11
- data/lib/phrase/api/versions_history_api.rb +2 -2
- data/lib/phrase/models/blacklisted_key_create_parameters.rb +1 -1
- data/lib/phrase/models/blacklisted_key_update_parameters.rb +1 -1
- data/lib/phrase/models/distribution_create_parameters.rb +11 -1
- data/lib/phrase/models/distribution_update_parameters.rb +11 -1
- data/lib/phrase/models/invitation.rb +13 -13
- data/lib/phrase/models/job_comment.rb +250 -0
- data/lib/phrase/models/job_comment_create_parameters.rb +195 -0
- data/lib/phrase/models/job_comment_update_parameters.rb +195 -0
- data/lib/phrase/models/job_create_parameters.rb +14 -4
- data/lib/phrase/models/key_create_parameters.rb +11 -1
- data/lib/phrase/models/locale.rb +10 -1
- data/lib/phrase/models/locale_create_parameters.rb +11 -1
- data/lib/phrase/models/locale_details.rb +10 -1
- data/lib/phrase/models/locale_update_parameters.rb +11 -1
- data/lib/phrase/models/member.rb +1 -1
- data/lib/phrase/models/{team1.rb → team_short.rb} +3 -3
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -1
- data/spec/api/blacklisted_keys_api_spec.rb +10 -10
- data/spec/api/glossaries_api_spec.rb +10 -10
- data/spec/api/glossary_term_translations_api_spec.rb +6 -6
- data/spec/api/glossary_terms_api_spec.rb +10 -10
- data/spec/api/job_comments_api_spec.rb +101 -0
- data/spec/api/jobs_api_spec.rb +30 -0
- data/spec/api/screenshots_api_spec.rb +4 -1
- data/spec/api/versions_history_api_spec.rb +1 -1
- data/spec/models/distribution_create_parameters_spec.rb +6 -0
- data/spec/models/distribution_update_parameters_spec.rb +6 -0
- data/spec/models/invitation_spec.rb +6 -6
- data/spec/models/job_comment_create_parameters_spec.rb +29 -0
- data/spec/models/job_comment_spec.rb +65 -0
- data/spec/models/job_comment_update_parameters_spec.rb +29 -0
- data/spec/models/job_create_parameters_spec.rb +6 -0
- data/spec/models/key_create_parameters_spec.rb +6 -0
- data/spec/models/locale_create_parameters_spec.rb +6 -0
- data/spec/models/locale_details_spec.rb +6 -0
- data/spec/models/locale_spec.rb +6 -0
- data/spec/models/locale_update_parameters_spec.rb +6 -0
- data/spec/models/{team1_spec.rb → team_short_spec.rb} +6 -6
- metadata +218 -202
@@ -21,8 +21,8 @@ describe 'GlossariesApi' do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
# unit tests for glossaries_list
|
24
|
-
# List
|
25
|
-
# List all glossaries the current user has access to.
|
24
|
+
# List term bases
|
25
|
+
# List all term bases (previously: glossaries) the current user has access to.
|
26
26
|
# @param account_id Account ID
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
28
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
@@ -36,8 +36,8 @@ describe 'GlossariesApi' do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# unit tests for glossary_create
|
39
|
-
# Create a
|
40
|
-
# Create a new glossary.
|
39
|
+
# Create a term base
|
40
|
+
# Create a new term base (previously: glossary).
|
41
41
|
# @param account_id Account ID
|
42
42
|
# @param glossary_create_parameters
|
43
43
|
# @param [Hash] opts the optional parameters
|
@@ -50,8 +50,8 @@ describe 'GlossariesApi' do
|
|
50
50
|
end
|
51
51
|
|
52
52
|
# unit tests for glossary_delete
|
53
|
-
# Delete a
|
54
|
-
# Delete an existing glossary.
|
53
|
+
# Delete a term base
|
54
|
+
# Delete an existing term base (previously: glossary).
|
55
55
|
# @param account_id Account ID
|
56
56
|
# @param id ID
|
57
57
|
# @param [Hash] opts the optional parameters
|
@@ -64,8 +64,8 @@ describe 'GlossariesApi' do
|
|
64
64
|
end
|
65
65
|
|
66
66
|
# unit tests for glossary_show
|
67
|
-
# Get a single
|
68
|
-
# Get details on a single glossary.
|
67
|
+
# Get a single term base
|
68
|
+
# Get details on a single term base (previously: glossary).
|
69
69
|
# @param account_id Account ID
|
70
70
|
# @param id ID
|
71
71
|
# @param [Hash] opts the optional parameters
|
@@ -78,8 +78,8 @@ describe 'GlossariesApi' do
|
|
78
78
|
end
|
79
79
|
|
80
80
|
# unit tests for glossary_update
|
81
|
-
# Update a
|
82
|
-
# Update an existing glossary.
|
81
|
+
# Update a term base
|
82
|
+
# Update an existing term base (previously: glossary).
|
83
83
|
# @param account_id Account ID
|
84
84
|
# @param id ID
|
85
85
|
# @param glossary_update_parameters
|
@@ -21,8 +21,8 @@ describe 'GlossaryTermTranslationsApi' do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
# unit tests for glossary_term_translation_create
|
24
|
-
# Create a
|
25
|
-
# Create a new
|
24
|
+
# Create a translation for a term
|
25
|
+
# Create a new translation for a term in a term base (previously: glossary).
|
26
26
|
# @param account_id Account ID
|
27
27
|
# @param glossary_id Glossary ID
|
28
28
|
# @param term_id Term ID
|
@@ -37,8 +37,8 @@ describe 'GlossaryTermTranslationsApi' do
|
|
37
37
|
end
|
38
38
|
|
39
39
|
# unit tests for glossary_term_translation_delete
|
40
|
-
# Delete a
|
41
|
-
# Delete an existing
|
40
|
+
# Delete a translation for a term
|
41
|
+
# Delete an existing translation of a term in a term base (previously: glossary).
|
42
42
|
# @param account_id Account ID
|
43
43
|
# @param glossary_id Glossary ID
|
44
44
|
# @param term_id Term ID
|
@@ -53,8 +53,8 @@ describe 'GlossaryTermTranslationsApi' do
|
|
53
53
|
end
|
54
54
|
|
55
55
|
# unit tests for glossary_term_translation_update
|
56
|
-
# Update a
|
57
|
-
# Update an existing
|
56
|
+
# Update a translation for a term
|
57
|
+
# Update an existing translation for a term in a term base (previously: glossary).
|
58
58
|
# @param account_id Account ID
|
59
59
|
# @param glossary_id Glossary ID
|
60
60
|
# @param term_id Term ID
|
@@ -21,8 +21,8 @@ describe 'GlossaryTermsApi' do
|
|
21
21
|
end
|
22
22
|
|
23
23
|
# unit tests for glossary_term_create
|
24
|
-
# Create a
|
25
|
-
# Create a new
|
24
|
+
# Create a term
|
25
|
+
# Create a new term in a term base (previously: glossary).
|
26
26
|
# @param account_id Account ID
|
27
27
|
# @param glossary_id Glossary ID
|
28
28
|
# @param glossary_term_create_parameters
|
@@ -36,8 +36,8 @@ describe 'GlossaryTermsApi' do
|
|
36
36
|
end
|
37
37
|
|
38
38
|
# unit tests for glossary_term_delete
|
39
|
-
# Delete a
|
40
|
-
# Delete an existing
|
39
|
+
# Delete a term
|
40
|
+
# Delete an existing term in a term base (previously: glossary).
|
41
41
|
# @param account_id Account ID
|
42
42
|
# @param glossary_id Glossary ID
|
43
43
|
# @param id ID
|
@@ -51,8 +51,8 @@ describe 'GlossaryTermsApi' do
|
|
51
51
|
end
|
52
52
|
|
53
53
|
# unit tests for glossary_term_show
|
54
|
-
# Get a single
|
55
|
-
# Get details
|
54
|
+
# Get a single term
|
55
|
+
# Get details for a single term in the term base (previously: glossary).
|
56
56
|
# @param account_id Account ID
|
57
57
|
# @param glossary_id Glossary ID
|
58
58
|
# @param id ID
|
@@ -66,8 +66,8 @@ describe 'GlossaryTermsApi' do
|
|
66
66
|
end
|
67
67
|
|
68
68
|
# unit tests for glossary_term_update
|
69
|
-
# Update a
|
70
|
-
# Update an existing
|
69
|
+
# Update a term
|
70
|
+
# Update an existing term in a term base (previously: glossary).
|
71
71
|
# @param account_id Account ID
|
72
72
|
# @param glossary_id Glossary ID
|
73
73
|
# @param id ID
|
@@ -82,8 +82,8 @@ describe 'GlossaryTermsApi' do
|
|
82
82
|
end
|
83
83
|
|
84
84
|
# unit tests for glossary_terms_list
|
85
|
-
# List
|
86
|
-
# List all glossary
|
85
|
+
# List terms
|
86
|
+
# List all terms in term bases (previously: glossary) that the current user has access to.
|
87
87
|
# @param account_id Account ID
|
88
88
|
# @param glossary_id Glossary ID
|
89
89
|
# @param [Hash] opts the optional parameters
|
@@ -0,0 +1,101 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
|
4
|
+
# Unit tests for Phrase::JobCommentsApi
|
5
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
6
|
+
# Please update as you see appropriate
|
7
|
+
describe 'JobCommentsApi' do
|
8
|
+
before do
|
9
|
+
# run before each test
|
10
|
+
@api_instance = Phrase::JobCommentsApi.new
|
11
|
+
end
|
12
|
+
|
13
|
+
after do
|
14
|
+
# run after each test
|
15
|
+
end
|
16
|
+
|
17
|
+
describe 'test an instance of JobCommentsApi' do
|
18
|
+
it 'should create an instance of JobCommentsApi' do
|
19
|
+
expect(@api_instance).to be_instance_of(Phrase::JobCommentsApi)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
# unit tests for job_comment_create
|
24
|
+
# Create a job comment
|
25
|
+
# Create a new comment for a job.
|
26
|
+
# @param project_id Project ID
|
27
|
+
# @param job_id Job ID
|
28
|
+
# @param job_comment_create_parameters
|
29
|
+
# @param [Hash] opts the optional parameters
|
30
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
31
|
+
# @return [JobComment]
|
32
|
+
describe 'job_comment_create test' do
|
33
|
+
it 'should work' do
|
34
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
# unit tests for job_comment_delete
|
39
|
+
# Delete a job comment
|
40
|
+
# Delete an existing job comment.
|
41
|
+
# @param project_id Project ID
|
42
|
+
# @param job_id Job ID
|
43
|
+
# @param id ID
|
44
|
+
# @param [Hash] opts the optional parameters
|
45
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
46
|
+
# @option opts [String] :branch specify the branch to use
|
47
|
+
# @return [nil]
|
48
|
+
describe 'job_comment_delete test' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
# unit tests for job_comment_show
|
55
|
+
# Get a single job comment
|
56
|
+
# Get details on a single job comment.
|
57
|
+
# @param project_id Project ID
|
58
|
+
# @param job_id Job ID
|
59
|
+
# @param id ID
|
60
|
+
# @param [Hash] opts the optional parameters
|
61
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
62
|
+
# @option opts [String] :branch specify the branch to use
|
63
|
+
# @return [Object]
|
64
|
+
describe 'job_comment_show test' 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
|
+
# unit tests for job_comment_update
|
71
|
+
# Update a job comment
|
72
|
+
# Update an existing job comment.
|
73
|
+
# @param project_id Project ID
|
74
|
+
# @param key_id Translation Key ID
|
75
|
+
# @param id ID
|
76
|
+
# @param job_comment_update_parameters
|
77
|
+
# @param [Hash] opts the optional parameters
|
78
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
79
|
+
# @return [Object]
|
80
|
+
describe 'job_comment_update test' do
|
81
|
+
it 'should work' do
|
82
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
# unit tests for job_comments_list
|
87
|
+
# List job comments
|
88
|
+
# List all comments for a job.
|
89
|
+
# @param project_id Project ID
|
90
|
+
# @param job_id Job ID
|
91
|
+
# @param [Hash] opts the optional parameters
|
92
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
93
|
+
# @option opts [String] :branch specify the branch to use
|
94
|
+
# @return [Array<Object>]
|
95
|
+
describe 'job_comments_list test' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
end
|
data/spec/api/jobs_api_spec.rb
CHANGED
@@ -95,6 +95,21 @@ describe 'JobsApi' do
|
|
95
95
|
end
|
96
96
|
end
|
97
97
|
|
98
|
+
# unit tests for job_lock
|
99
|
+
# Lock a job
|
100
|
+
# If you are the job owner, you may lock a job using this API request.
|
101
|
+
# @param project_id Project ID
|
102
|
+
# @param id ID
|
103
|
+
# @param [Hash] opts the optional parameters
|
104
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
105
|
+
# @option opts [String] :branch specify the branch to use
|
106
|
+
# @return [nil]
|
107
|
+
describe 'job_lock test' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
98
113
|
# unit tests for job_reopen
|
99
114
|
# Reopen a job
|
100
115
|
# Mark a job as uncompleted.
|
@@ -140,6 +155,21 @@ describe 'JobsApi' do
|
|
140
155
|
end
|
141
156
|
end
|
142
157
|
|
158
|
+
# unit tests for job_unlock
|
159
|
+
# Unlock a job
|
160
|
+
# If you are the job owner, you may unlock a locked job using this API request.
|
161
|
+
# @param project_id Project ID
|
162
|
+
# @param id ID
|
163
|
+
# @param [Hash] opts the optional parameters
|
164
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
165
|
+
# @option opts [String] :branch specify the branch to use
|
166
|
+
# @return [nil]
|
167
|
+
describe 'job_unlock test' do
|
168
|
+
it 'should work' do
|
169
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
170
|
+
end
|
171
|
+
end
|
172
|
+
|
143
173
|
# unit tests for job_update
|
144
174
|
# Update a job
|
145
175
|
# Update an existing job.
|
@@ -24,9 +24,12 @@ describe 'ScreenshotsApi' do
|
|
24
24
|
# Create a screenshot
|
25
25
|
# Create a new screenshot.
|
26
26
|
# @param project_id Project ID
|
27
|
-
# @param screenshot_create_parameters
|
28
27
|
# @param [Hash] opts the optional parameters
|
29
28
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
29
|
+
# @option opts [String] :branch specify the branch to use
|
30
|
+
# @option opts [String] :name Name of the screenshot
|
31
|
+
# @option opts [String] :description Description of the screenshot
|
32
|
+
# @option opts [File] :filename Screenshot file
|
30
33
|
# @return [Screenshot]
|
31
34
|
describe 'screenshot_create test' do
|
32
35
|
it 'should work' do
|
@@ -38,7 +38,7 @@ describe 'VersionsHistoryApi' do
|
|
38
38
|
|
39
39
|
# unit tests for versions_list
|
40
40
|
# List all versions
|
41
|
-
# List all
|
41
|
+
# List all changes done to a given translation.
|
42
42
|
# @param project_id Project ID
|
43
43
|
# @param translation_id Translation ID
|
44
44
|
# @param [Hash] opts the optional parameters
|
@@ -50,6 +50,12 @@ describe 'DistributionCreateParameters' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "fallback_locales_enabled"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "fallback_to_non_regional_locale"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,6 +50,12 @@ describe 'DistributionUpdateParameters' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "fallback_locales_enabled"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
53
59
|
describe 'test attribute "fallback_to_non_regional_locale"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -56,6 +56,12 @@ describe 'Invitation' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
describe 'test attribute "teams"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
59
65
|
describe 'test attribute "default_locale_codes"' do
|
60
66
|
it 'should work' do
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -98,12 +104,6 @@ describe 'Invitation' do
|
|
98
104
|
end
|
99
105
|
end
|
100
106
|
|
101
|
-
describe 'test attribute "teams"' do
|
102
|
-
it 'should work' do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
107
|
describe 'test attribute "project_role"' do
|
108
108
|
it 'should work' do
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobCommentCreateParameters
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobCommentCreateParameters' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobCommentCreateParameters.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobCommentCreateParameters' do
|
19
|
+
it 'should create an instance of JobCommentCreateParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobCommentCreateParameters)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "message"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobComment
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobComment' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobComment.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobComment' do
|
19
|
+
it 'should create an instance of JobComment' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobComment)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "id"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test attribute "message"' do
|
30
|
+
it 'should work' do
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe 'test attribute "job_id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "user"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "created_at"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "updated_at"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "mentioned_users"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobCommentUpdateParameters
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobCommentUpdateParameters' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobCommentUpdateParameters.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobCommentUpdateParameters' do
|
19
|
+
it 'should create an instance of JobCommentUpdateParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobCommentUpdateParameters)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "message"' do
|
24
|
+
it 'should work' do
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
@@ -86,6 +86,12 @@ describe 'KeyCreateParameters' do
|
|
86
86
|
end
|
87
87
|
end
|
88
88
|
|
89
|
+
describe 'test attribute "default_translation_content"' 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
|
94
|
+
|
89
95
|
describe 'test attribute "xml_space_preserve"' do
|
90
96
|
it 'should work' do
|
91
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'LocaleCreateParameters' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "fallback_locale_id"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "unverify_new_translations"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,6 +68,12 @@ describe 'LocaleDetails' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "fallback_locale"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
71
77
|
describe 'test attribute "created_at"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/locale_spec.rb
CHANGED
@@ -68,6 +68,12 @@ describe 'Locale' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "fallback_locale"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
71
77
|
describe 'test attribute "created_at"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'LocaleUpdateParameters' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "fallback_locale_id"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
65
71
|
describe 'test attribute "unverify_new_translations"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -2,22 +2,22 @@ require 'spec_helper'
|
|
2
2
|
require 'json'
|
3
3
|
require 'date'
|
4
4
|
|
5
|
-
# Unit tests for Phrase::
|
5
|
+
# Unit tests for Phrase::TeamShort
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
7
|
# Please update as you see appropriate
|
8
|
-
describe '
|
8
|
+
describe 'TeamShort' do
|
9
9
|
before do
|
10
10
|
# run before each test
|
11
|
-
@instance = Phrase::
|
11
|
+
@instance = Phrase::TeamShort.new
|
12
12
|
end
|
13
13
|
|
14
14
|
after do
|
15
15
|
# run after each test
|
16
16
|
end
|
17
17
|
|
18
|
-
describe 'test an instance of
|
19
|
-
it 'should create an instance of
|
20
|
-
expect(@instance).to be_instance_of(Phrase::
|
18
|
+
describe 'test an instance of TeamShort' do
|
19
|
+
it 'should create an instance of TeamShort' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::TeamShort)
|
21
21
|
end
|
22
22
|
end
|
23
23
|
describe 'test attribute "id"' do
|