phrase 4.22.0 → 4.24.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/CHANGELOG.md +20 -0
- data/README.md +8 -6
- data/docs/AccountDetails.md +1 -1
- data/docs/AuthorizationsApi.md +1 -1
- data/docs/Automation.md +6 -0
- data/docs/AutomationsApi.md +1 -1
- data/docs/AutomationsCreateParameters.md +5 -1
- data/docs/AutomationsCreateParameters1.md +5 -1
- data/docs/BlacklistedKeysApi.md +1 -1
- data/docs/Branch.md +2 -0
- data/docs/BranchCreateParameters.md +3 -1
- data/docs/BranchMergeParameters.md +1 -1
- data/docs/BranchSyncParameters.md +1 -1
- data/docs/BranchesApi.md +10 -10
- data/docs/CommentsApi.md +7 -7
- data/docs/Distribution.md +4 -4
- data/docs/{DistributionPreview.md → DistributionDetails.md} +9 -3
- data/docs/DistributionsApi.md +9 -9
- data/docs/DocumentDelete422Response.md +19 -0
- data/docs/{CustomMetadataPropertyCreate422ResponseErrorsInner.md → DocumentDelete422ResponseErrorsInner.md} +2 -2
- data/docs/DocumentsApi.md +4 -2
- data/docs/FigmaAttachmentsApi.md +1 -1
- data/docs/GlossariesApi.md +1 -1
- data/docs/Glossary.md +2 -0
- data/docs/GlossaryTerm.md +2 -0
- data/docs/GlossaryTermGlossary.md +19 -0
- data/docs/GlossaryTermTranslationsApi.md +1 -1
- data/docs/GlossaryTermsApi.md +1 -1
- data/docs/IcuSkeletonParameters.md +3 -1
- data/docs/Invitation.md +2 -2
- data/docs/InvitationsApi.md +1 -1
- data/docs/Job.md +5 -1
- data/docs/JobDetails.md +8 -2
- data/docs/JobTemplate.md +2 -0
- data/docs/JobTemplateDetails.md +2 -0
- data/docs/JobTemplatesApi.md +1 -1
- data/docs/JobsApi.md +15 -9
- data/docs/KeyCreateParameters.md +6 -2
- data/docs/KeyUpdateParameters.md +6 -2
- data/docs/KeysApi.md +1 -1
- data/docs/LocaleDownloadCreateParameters.md +4 -2
- data/docs/LocalesApi.md +12 -6
- data/docs/MembersApi.md +1 -1
- data/docs/NotificationsApi.md +3 -1
- data/docs/OrdersApi.md +4 -2
- data/docs/OrganizationJobTemplate.md +4 -0
- data/docs/OrganizationJobTemplateDetails.md +4 -0
- data/docs/OrganizationJobTemplatesApi.md +1 -1
- data/docs/ProjectCreateParameters.md +17 -1
- data/docs/ProjectDetails.md +7 -1
- data/docs/ProjectUpdateParameters.md +17 -3
- data/docs/ProjectsApi.md +10 -8
- data/docs/Release.md +2 -0
- data/docs/ReleasesApi.md +1 -1
- data/docs/RepoSync.md +2 -0
- data/docs/ScreenshotMarker.md +2 -2
- data/docs/ScreenshotMarkerPresentation.md +23 -0
- data/docs/ScreenshotMarkersApi.md +1 -1
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/ScreenshotsApi.md +1 -1
- data/docs/SearchInAccountParameters.md +3 -1
- data/docs/StyleGuidesApi.md +1 -1
- data/docs/StyleguideCreateParameters.md +3 -3
- data/docs/StyleguideUpdateParameters.md +3 -3
- data/docs/Tag.md +2 -0
- data/docs/TagWithStats.md +2 -0
- data/docs/TagsApi.md +5 -3
- data/docs/TranslationCreateParameters.md +5 -1
- data/docs/TranslationOrder.md +2 -2
- data/docs/TranslationUpdateParameters.md +3 -1
- data/docs/TranslationsApi.md +4 -0
- data/docs/UploadBatch.md +4 -2
- data/docs/UploadSummary.md +1 -1
- data/docs/UploadsApi.md +3 -1
- data/docs/VariablesApi.md +1 -1
- data/docs/WebhooksApi.md +7 -6
- data/lib/phrase/api/authorizations_api.rb +2 -0
- data/lib/phrase/api/automations_api.rb +2 -0
- data/lib/phrase/api/blacklisted_keys_api.rb +2 -0
- data/lib/phrase/api/branches_api.rb +20 -14
- data/lib/phrase/api/comments_api.rb +18 -4
- data/lib/phrase/api/distributions_api.rb +14 -12
- data/lib/phrase/api/documents_api.rb +5 -0
- data/lib/phrase/api/figma_attachments_api.rb +2 -0
- data/lib/phrase/api/glossaries_api.rb +2 -0
- data/lib/phrase/api/glossary_term_translations_api.rb +2 -0
- data/lib/phrase/api/glossary_terms_api.rb +2 -0
- data/lib/phrase/api/invitations_api.rb +2 -0
- data/lib/phrase/api/job_templates_api.rb +2 -0
- data/lib/phrase/api/jobs_api.rb +18 -6
- data/lib/phrase/api/keys_api.rb +2 -0
- data/lib/phrase/api/locales_api.rb +15 -4
- data/lib/phrase/api/members_api.rb +2 -0
- data/lib/phrase/api/notifications_api.rb +3 -0
- data/lib/phrase/api/orders_api.rb +5 -0
- data/lib/phrase/api/organization_job_templates_api.rb +2 -0
- data/lib/phrase/api/projects_api.rb +23 -10
- data/lib/phrase/api/releases_api.rb +2 -0
- data/lib/phrase/api/screenshot_markers_api.rb +2 -0
- data/lib/phrase/api/screenshots_api.rb +2 -0
- data/lib/phrase/api/style_guides_api.rb +2 -0
- data/lib/phrase/api/tags_api.rb +7 -2
- data/lib/phrase/api/translations_api.rb +6 -0
- data/lib/phrase/api/uploads_api.rb +3 -0
- data/lib/phrase/api/variables_api.rb +2 -0
- data/lib/phrase/api/webhooks_api.rb +9 -5
- data/lib/phrase/models/account_details.rb +1 -0
- data/lib/phrase/models/authorization_create_parameters.rb +22 -0
- data/lib/phrase/models/authorization_update_parameters.rb +22 -0
- data/lib/phrase/models/automation.rb +34 -1
- data/lib/phrase/models/automations_create_parameters.rb +24 -4
- data/lib/phrase/models/automations_create_parameters1.rb +24 -4
- data/lib/phrase/models/branch.rb +46 -1
- data/lib/phrase/models/branch_create_parameters.rb +14 -4
- data/lib/phrase/models/branch_merge_parameters.rb +35 -1
- data/lib/phrase/models/branch_sync_parameters.rb +35 -1
- data/lib/phrase/models/distribution.rb +17 -20
- data/lib/phrase/models/{distribution_preview.rb → distribution_details.rb} +46 -7
- data/lib/phrase/models/{custom_metadata_property_create422_response.rb → document_delete422_response.rb} +4 -4
- data/lib/phrase/models/{custom_metadata_property_create422_response_errors_inner.rb → document_delete422_response_errors_inner.rb} +3 -3
- data/lib/phrase/models/glossary.rb +12 -1
- data/lib/phrase/models/glossary_term.rb +10 -1
- data/lib/phrase/models/glossary_term_glossary.rb +206 -0
- data/lib/phrase/models/icu_skeleton_parameters.rb +12 -2
- data/lib/phrase/models/invitation.rb +9 -8
- data/lib/phrase/models/job.rb +26 -4
- data/lib/phrase/models/job_details.rb +37 -4
- data/lib/phrase/models/job_template.rb +11 -1
- data/lib/phrase/models/job_template_details.rb +11 -1
- data/lib/phrase/models/key_create_parameters.rb +26 -4
- data/lib/phrase/models/key_update_parameters.rb +26 -4
- data/lib/phrase/models/locale_download_create_parameters.rb +13 -3
- data/lib/phrase/models/organization_job_template.rb +22 -1
- data/lib/phrase/models/organization_job_template_details.rb +22 -1
- data/lib/phrase/models/project_create_parameters.rb +115 -1
- data/lib/phrase/models/project_details.rb +31 -4
- data/lib/phrase/models/project_update_parameters.rb +75 -5
- data/lib/phrase/models/release.rb +10 -1
- data/lib/phrase/models/repo_sync.rb +12 -1
- data/lib/phrase/models/screenshot_marker.rb +2 -1
- data/lib/phrase/models/screenshot_marker_presentation.rb +224 -0
- data/lib/phrase/models/search_in_account_parameters.rb +16 -4
- data/lib/phrase/models/styleguide_create_parameters.rb +61 -3
- data/lib/phrase/models/styleguide_update_parameters.rb +61 -3
- data/lib/phrase/models/tag.rb +11 -1
- data/lib/phrase/models/tag_with_stats.rb +11 -1
- data/lib/phrase/models/translation_create_parameters.rb +24 -4
- data/lib/phrase/models/translation_order.rb +8 -7
- data/lib/phrase/models/translation_update_parameters.rb +14 -4
- data/lib/phrase/models/upload_batch.rb +24 -14
- data/lib/phrase/models/upload_summary.rb +1 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -3
- data/spec/api/branches_api_spec.rb +7 -7
- data/spec/api/comments_api_spec.rb +2 -2
- data/spec/api/distributions_api_spec.rb +4 -4
- data/spec/api/documents_api_spec.rb +1 -0
- data/spec/api/jobs_api_spec.rb +4 -2
- data/spec/api/notifications_api_spec.rb +1 -0
- data/spec/api/orders_api_spec.rb +1 -0
- data/spec/api/projects_api_spec.rb +6 -5
- data/spec/api/tags_api_spec.rb +2 -1
- data/spec/api/translations_api_spec.rb +2 -0
- data/spec/api/webhooks_api_spec.rb +2 -2
- data/spec/models/authorization_create_parameters_spec.rb +4 -0
- data/spec/models/authorization_update_parameters_spec.rb +4 -0
- data/spec/models/automation_spec.rb +18 -0
- data/spec/models/automations_create_parameters1_spec.rb +12 -0
- data/spec/models/automations_create_parameters_spec.rb +12 -0
- data/spec/models/branch_create_parameters_spec.rb +6 -0
- data/spec/models/branch_merge_parameters_spec.rb +4 -0
- data/spec/models/branch_spec.rb +10 -0
- data/spec/models/branch_sync_parameters_spec.rb +4 -0
- data/spec/models/{distribution_preview_spec.rb → distribution_details_spec.rb} +24 -6
- data/spec/models/distribution_spec.rb +3 -3
- data/spec/models/{custom_metadata_property_create422_response_errors_inner_spec.rb → document_delete422_response_errors_inner_spec.rb} +6 -6
- data/spec/models/{custom_metadata_property_create422_response_spec.rb → document_delete422_response_spec.rb} +6 -6
- data/spec/models/glossary_spec.rb +6 -0
- data/spec/models/glossary_term_glossary_spec.rb +35 -0
- data/spec/models/glossary_term_spec.rb +6 -0
- data/spec/models/icu_skeleton_parameters_spec.rb +6 -0
- data/spec/models/invitation_spec.rb +1 -1
- data/spec/models/job_details_spec.rb +18 -0
- data/spec/models/job_spec.rb +12 -0
- data/spec/models/job_template_details_spec.rb +6 -0
- data/spec/models/job_template_spec.rb +6 -0
- data/spec/models/key_create_parameters_spec.rb +12 -0
- data/spec/models/key_update_parameters_spec.rb +12 -0
- data/spec/models/locale_download_create_parameters_spec.rb +6 -0
- data/spec/models/organization_job_template_details_spec.rb +12 -0
- data/spec/models/organization_job_template_spec.rb +12 -0
- data/spec/models/project_create_parameters_spec.rb +52 -0
- data/spec/models/project_details_spec.rb +18 -0
- data/spec/models/project_update_parameters_spec.rb +42 -0
- data/spec/models/release_spec.rb +6 -0
- data/spec/models/repo_sync_spec.rb +6 -0
- data/spec/models/screenshot_marker_presentation_spec.rb +47 -0
- data/spec/models/search_in_account_parameters_spec.rb +6 -0
- data/spec/models/styleguide_create_parameters_spec.rb +12 -0
- data/spec/models/styleguide_update_parameters_spec.rb +12 -0
- data/spec/models/tag_spec.rb +6 -0
- data/spec/models/tag_with_stats_spec.rb +6 -0
- data/spec/models/translation_create_parameters_spec.rb +12 -0
- data/spec/models/translation_order_spec.rb +1 -1
- data/spec/models/translation_update_parameters_spec.rb +6 -0
- data/spec/models/upload_batch_spec.rb +8 -2
- metadata +262 -254
- data/docs/CustomMetadataPropertyCreate422Response.md +0 -19
data/spec/api/jobs_api_spec.rb
CHANGED
|
@@ -102,7 +102,7 @@ describe 'JobsApi' do
|
|
|
102
102
|
# @param [Hash] opts the optional parameters
|
|
103
103
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
104
104
|
# @option opts [String] :branch specify the branch to use
|
|
105
|
-
# @return [
|
|
105
|
+
# @return [JobDetails]
|
|
106
106
|
describe 'job_lock test' do
|
|
107
107
|
it 'should work' do
|
|
108
108
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -164,7 +164,7 @@ describe 'JobsApi' do
|
|
|
164
164
|
# @param [Hash] opts the optional parameters
|
|
165
165
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
166
166
|
# @option opts [String] :branch specify the branch to use
|
|
167
|
-
# @return [
|
|
167
|
+
# @return [JobDetails]
|
|
168
168
|
describe 'job_unlock test' do
|
|
169
169
|
it 'should work' do
|
|
170
170
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -217,6 +217,8 @@ describe 'JobsApi' do
|
|
|
217
217
|
# @option opts [String] :owned_by filter by user owning job
|
|
218
218
|
# @option opts [String] :assigned_to filter by user assigned to job
|
|
219
219
|
# @option opts [String] :state filter by state of job; valid states are: `draft`, `in_progress`, `completed`
|
|
220
|
+
# @option opts [Array<String>] :states Filter by multiple job states at once. Accepted values are the same as `state`. When supplied, `state` is ignored. Rejected with `400 Bad Request` if any value is unknown.
|
|
221
|
+
# @option opts [String] :key_id Filter to jobs that include the translation key identified by this code (matches via the job's tags).
|
|
220
222
|
# @option opts [String] :updated_since filter by jobs updated since given date
|
|
221
223
|
# @return [Array<Job>]
|
|
222
224
|
describe 'jobs_list test' do
|
|
@@ -28,6 +28,7 @@ describe 'NotificationsApi' do
|
|
|
28
28
|
# @option opts [Integer] :page Page number
|
|
29
29
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
30
30
|
# @option opts [Boolean] :unseen Include only unseen notifications
|
|
31
|
+
# @option opts [Integer] :last_days Restrict the results to notifications created within the last N days. Coerced to integer; non-numeric values resolve to 0 (returning nothing).
|
|
31
32
|
# @return [Array<Notification>]
|
|
32
33
|
describe 'notifications_list test' do
|
|
33
34
|
it 'should work' do
|
data/spec/api/orders_api_spec.rb
CHANGED
|
@@ -88,6 +88,7 @@ describe 'OrdersApi' do
|
|
|
88
88
|
# @option opts [Integer] :page Page number
|
|
89
89
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
90
90
|
# @option opts [String] :branch specify the branch to use
|
|
91
|
+
# @option opts [String] :translation_id Filter the result to orders that include the given translation. When supplied with a translation code that does not exist, an empty list is returned.
|
|
91
92
|
# @return [Array<TranslationOrder>]
|
|
92
93
|
describe 'orders_list test' do
|
|
93
94
|
it 'should work' do
|
|
@@ -22,7 +22,7 @@ describe 'ProjectsApi' do
|
|
|
22
22
|
|
|
23
23
|
# unit tests for project_create
|
|
24
24
|
# Create a project
|
|
25
|
-
# Create a new project.
|
|
25
|
+
# Create a new project in the given account. When `source_project_id` is supplied, the new project is created as a clone of that project. All locales, keys, and translations are copied asynchronously after the response is returned, so they may not be available immediately. Settings from the source project are inherited unless explicitly overridden in the request; in clone mode, the `shares_translation_memory` field is ignored and inherited from the source. `shares_translation_memory` defaults to `true` when omitted on a non-clone create.
|
|
26
26
|
# @param project_create_parameters
|
|
27
27
|
# @param [Hash] opts the optional parameters
|
|
28
28
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
@@ -35,7 +35,7 @@ describe 'ProjectsApi' do
|
|
|
35
35
|
|
|
36
36
|
# unit tests for project_delete
|
|
37
37
|
# Delete a project
|
|
38
|
-
# Delete an existing project.
|
|
38
|
+
# Delete an existing project. Associated repository syncs and OTA distributions are removed. A `project:delete` event is dispatched.
|
|
39
39
|
# @param id ID
|
|
40
40
|
# @param [Hash] opts the optional parameters
|
|
41
41
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
@@ -75,14 +75,15 @@ describe 'ProjectsApi' do
|
|
|
75
75
|
|
|
76
76
|
# unit tests for projects_list
|
|
77
77
|
# List projects
|
|
78
|
-
# List all projects the current user has access to.
|
|
78
|
+
# List all projects the current user has access to. When the `account_id` query parameter is omitted, the response includes projects across every account the user is a member of. Pass `account_id` to scope the results to a single account.
|
|
79
79
|
# @param [Hash] opts the optional parameters
|
|
80
80
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
81
81
|
# @option opts [Integer] :page Page number
|
|
82
82
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
83
83
|
# @option opts [String] :account_id Filter by Account ID
|
|
84
|
-
# @option opts [String] :sort_by Sort projects. Valid
|
|
85
|
-
# @option opts [Array<String>] :filters Filter projects.
|
|
84
|
+
# @option opts [String] :sort_by Sort projects. Valid values are `name_asc`, `name_desc`, `updated_at_asc`, `updated_at_desc`, `space_asc`, and `space_desc`. The trailing direction segment is optional; if omitted or invalid, projects are sorted ascending. Any other value is ignored and the default ordering is returned.
|
|
85
|
+
# @option opts [Array<String>] :filters Filter projects. The only supported value is `favorites`, which restricts the results to projects the current user has starred.
|
|
86
|
+
# @option opts [String] :q Search query. The only supported syntax is `name:<text>` — for example `name:android` returns projects whose name matches `android` (case-insensitive substring). Any value that does not match the `name:` prefix is ignored.
|
|
86
87
|
# @return [Array<Project>]
|
|
87
88
|
describe 'projects_list test' do
|
|
88
89
|
it 'should work' do
|
data/spec/api/tags_api_spec.rb
CHANGED
|
@@ -73,7 +73,8 @@ describe 'TagsApi' do
|
|
|
73
73
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
74
74
|
# @option opts [Integer] :page Page number
|
|
75
75
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
76
|
-
# @option opts [Boolean] :exclude_system_tags
|
|
76
|
+
# @option opts [Boolean] :exclude_system_tags Excludes tags generated by the system, e.g. job, upload or figma tags. Mutually exclusive with `only_system_tags`.
|
|
77
|
+
# @option opts [Boolean] :only_system_tags Returns only system-generated tags (e.g. job, upload, figma) and excludes user-defined tags. Mutually exclusive with `exclude_system_tags`.
|
|
77
78
|
# @option opts [String] :branch specify the branch to use
|
|
78
79
|
# @option opts [String] :q Specify a query to filter tags by name.
|
|
79
80
|
# @return [Array<Tag>]
|
|
@@ -233,6 +233,8 @@ describe 'TranslationsApi' do
|
|
|
233
233
|
# @option opts [Integer] :page Page number
|
|
234
234
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
235
235
|
# @option opts [String] :branch specify the branch to use
|
|
236
|
+
# @option opts [String] :key_id Filter translations to those attached to the key identified by this code. Equivalent to calling `GET /projects/{project_id}/keys/{key_id}/translations`.
|
|
237
|
+
# @option opts [String] :locale_id Filter translations to those for the given locale (locale code or id). Equivalent to calling `GET /projects/{project_id}/locales/{locale_id}/translations`.
|
|
236
238
|
# @option opts [String] :sort Sort criteria. Can be one of: key_name, created_at, updated_at.
|
|
237
239
|
# @option opts [String] :order Order direction. Can be one of: asc, desc.
|
|
238
240
|
# @option opts [String] :q Specify a query to find translations by content (including wildcards). *Note: Search is limited to 10000 results and may not include recently updated data (depending on the project size).* The following qualifiers are supported in the query: * `id:translation_id,...` for queries on a comma-separated list of ids * `tags:XYZ` for tags on the translation * `unverified:{true|false}` for verification status * `excluded:{true|false}` for exclusion status * `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries * `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp Find more examples [here](/en/api/strings/usage-examples).
|
|
@@ -64,12 +64,12 @@ describe 'WebhooksApi' do
|
|
|
64
64
|
|
|
65
65
|
# unit tests for webhook_test
|
|
66
66
|
# Test a webhook
|
|
67
|
-
# Perform a test request for a webhook.
|
|
67
|
+
# Perform a test request for a webhook. Sends a synthetic `test:event` payload to the webhook's `callback_url` and returns the webhook resource.
|
|
68
68
|
# @param project_id Project ID
|
|
69
69
|
# @param id ID
|
|
70
70
|
# @param [Hash] opts the optional parameters
|
|
71
71
|
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
|
72
|
-
# @return [
|
|
72
|
+
# @return [Webhook]
|
|
73
73
|
describe 'webhook_test test' do
|
|
74
74
|
it 'should work' do
|
|
75
75
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -29,6 +29,10 @@ describe 'AuthorizationCreateParameters' do
|
|
|
29
29
|
describe 'test attribute "scopes"' do
|
|
30
30
|
it 'should work' do
|
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["read", "write", "orders.create", "team.manage"])
|
|
33
|
+
# validator.allowable_values.each do |value|
|
|
34
|
+
# expect { @instance.scopes = value }.not_to raise_error
|
|
35
|
+
# end
|
|
32
36
|
end
|
|
33
37
|
end
|
|
34
38
|
|
|
@@ -29,6 +29,10 @@ describe 'AuthorizationUpdateParameters' do
|
|
|
29
29
|
describe 'test attribute "scopes"' do
|
|
30
30
|
it 'should work' do
|
|
31
31
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('Array<String>', ["read", "write", "orders.create", "team.manage"])
|
|
33
|
+
# validator.allowable_values.each do |value|
|
|
34
|
+
# expect { @instance.scopes = value }.not_to raise_error
|
|
35
|
+
# end
|
|
32
36
|
end
|
|
33
37
|
end
|
|
34
38
|
|
|
@@ -68,12 +68,30 @@ describe 'Automation' do
|
|
|
68
68
|
end
|
|
69
69
|
end
|
|
70
70
|
|
|
71
|
+
describe 'test attribute "project_ids"' 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 "job_template_id"' do
|
|
72
78
|
it 'should work' do
|
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
74
80
|
end
|
|
75
81
|
end
|
|
76
82
|
|
|
83
|
+
describe 'test attribute "job_owner_id"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "include_only_updated_locales"' 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
|
+
|
|
77
95
|
describe 'test attribute "tags"' do
|
|
78
96
|
it 'should work' do
|
|
79
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -76,4 +76,16 @@ describe 'AutomationsCreateParameters1' do
|
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
describe 'test attribute "job_owner_id"' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
describe 'test attribute "include_only_updated_locales"' do
|
|
86
|
+
it 'should work' do
|
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
79
91
|
end
|
|
@@ -76,4 +76,16 @@ describe 'AutomationsCreateParameters' do
|
|
|
76
76
|
end
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
+
describe 'test attribute "job_owner_id"' do
|
|
80
|
+
it 'should work' do
|
|
81
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
describe 'test attribute "include_only_updated_locales"' do
|
|
86
|
+
it 'should work' do
|
|
87
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
|
|
79
91
|
end
|
|
@@ -23,6 +23,10 @@ describe 'BranchMergeParameters' do
|
|
|
23
23
|
describe 'test attribute "strategy"' do
|
|
24
24
|
it 'should work' do
|
|
25
25
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
26
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["use_main", "use_branch"])
|
|
27
|
+
# validator.allowable_values.each do |value|
|
|
28
|
+
# expect { @instance.strategy = value }.not_to raise_error
|
|
29
|
+
# end
|
|
26
30
|
end
|
|
27
31
|
end
|
|
28
32
|
|
data/spec/models/branch_spec.rb
CHANGED
|
@@ -38,6 +38,12 @@ describe 'Branch' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
describe 'test attribute "base"' 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
|
+
|
|
41
47
|
describe 'test attribute "created_at"' do
|
|
42
48
|
it 'should work' do
|
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -71,6 +77,10 @@ describe 'Branch' do
|
|
|
71
77
|
describe 'test attribute "state"' do
|
|
72
78
|
it 'should work' do
|
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["creating_branch", "merging_branch", "syncing_branch", "merged", "success", "branch_error", "merge_conflict"])
|
|
81
|
+
# validator.allowable_values.each do |value|
|
|
82
|
+
# expect { @instance.state = value }.not_to raise_error
|
|
83
|
+
# end
|
|
74
84
|
end
|
|
75
85
|
end
|
|
76
86
|
|
|
@@ -23,6 +23,10 @@ describe 'BranchSyncParameters' do
|
|
|
23
23
|
describe 'test attribute "strategy"' do
|
|
24
24
|
it 'should work' do
|
|
25
25
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
26
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["use_main", "use_branch"])
|
|
27
|
+
# validator.allowable_values.each do |value|
|
|
28
|
+
# expect { @instance.strategy = value }.not_to raise_error
|
|
29
|
+
# end
|
|
26
30
|
end
|
|
27
31
|
end
|
|
28
32
|
|
|
@@ -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::DistributionDetails
|
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
7
7
|
# Please update as you see appropriate
|
|
8
|
-
describe '
|
|
8
|
+
describe 'DistributionDetails' do
|
|
9
9
|
before do
|
|
10
10
|
# run before each test
|
|
11
|
-
@instance = Phrase::
|
|
11
|
+
@instance = Phrase::DistributionDetails.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 DistributionDetails' do
|
|
19
|
+
it 'should create an instance of DistributionDetails' do
|
|
20
|
+
expect(@instance).to be_instance_of(Phrase::DistributionDetails)
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
describe 'test attribute "id"' do
|
|
@@ -56,10 +56,28 @@ describe 'DistributionPreview' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
describe 'test attribute "updated_at"' 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 "deleted_at"' do
|
|
60
66
|
it 'should work' do
|
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
68
|
end
|
|
63
69
|
end
|
|
64
70
|
|
|
71
|
+
describe 'test attribute "locales"' 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
|
+
|
|
77
|
+
describe 'test attribute "releases"' do
|
|
78
|
+
it 'should work' do
|
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
|
|
65
83
|
end
|
|
@@ -44,19 +44,19 @@ describe 'Distribution' do
|
|
|
44
44
|
end
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
describe 'test attribute "
|
|
47
|
+
describe 'test attribute "release_count"' do
|
|
48
48
|
it 'should work' do
|
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
-
describe 'test attribute "
|
|
53
|
+
describe 'test attribute "created_at"' do
|
|
54
54
|
it 'should work' do
|
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
-
describe 'test attribute "
|
|
59
|
+
describe 'test attribute "updated_at"' do
|
|
60
60
|
it 'should work' do
|
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
62
62
|
end
|
|
@@ -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::DocumentDelete422ResponseErrorsInner
|
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
7
7
|
# Please update as you see appropriate
|
|
8
|
-
describe '
|
|
8
|
+
describe 'DocumentDelete422ResponseErrorsInner' do
|
|
9
9
|
before do
|
|
10
10
|
# run before each test
|
|
11
|
-
@instance = Phrase::
|
|
11
|
+
@instance = Phrase::DocumentDelete422ResponseErrorsInner.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 DocumentDelete422ResponseErrorsInner' do
|
|
19
|
+
it 'should create an instance of DocumentDelete422ResponseErrorsInner' do
|
|
20
|
+
expect(@instance).to be_instance_of(Phrase::DocumentDelete422ResponseErrorsInner)
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
describe 'test attribute "resource"' do
|
|
@@ -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::DocumentDelete422Response
|
|
6
6
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
7
7
|
# Please update as you see appropriate
|
|
8
|
-
describe '
|
|
8
|
+
describe 'DocumentDelete422Response' do
|
|
9
9
|
before do
|
|
10
10
|
# run before each test
|
|
11
|
-
@instance = Phrase::
|
|
11
|
+
@instance = Phrase::DocumentDelete422Response.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 DocumentDelete422Response' do
|
|
19
|
+
it 'should create an instance of DocumentDelete422Response' do
|
|
20
|
+
expect(@instance).to be_instance_of(Phrase::DocumentDelete422Response)
|
|
21
21
|
end
|
|
22
22
|
end
|
|
23
23
|
describe 'test attribute "message"' do
|
|
@@ -38,6 +38,12 @@ describe 'Glossary' do
|
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
|
41
|
+
describe 'test attribute "spaces"' 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
|
+
|
|
41
47
|
describe 'test attribute "created_at"' do
|
|
42
48
|
it 'should work' do
|
|
43
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'json'
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
# Unit tests for Phrase::GlossaryTermGlossary
|
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
7
|
+
# Please update as you see appropriate
|
|
8
|
+
describe 'GlossaryTermGlossary' do
|
|
9
|
+
before do
|
|
10
|
+
# run before each test
|
|
11
|
+
@instance = Phrase::GlossaryTermGlossary.new
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
after do
|
|
15
|
+
# run after each test
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of GlossaryTermGlossary' do
|
|
19
|
+
it 'should create an instance of GlossaryTermGlossary' do
|
|
20
|
+
expect(@instance).to be_instance_of(Phrase::GlossaryTermGlossary)
|
|
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 "name"' 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
|
+
end
|
|
@@ -56,6 +56,12 @@ describe 'GlossaryTerm' do
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
describe 'test attribute "glossary"' 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 "created_at"' do
|
|
60
66
|
it 'should work' do
|
|
61
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -26,6 +26,12 @@ describe 'IcuSkeletonParameters' do
|
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
describe 'test attribute "id"' 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
|
+
|
|
29
35
|
describe 'test attribute "locale_codes"' do
|
|
30
36
|
it 'should work' do
|
|
31
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -104,7 +104,7 @@ describe 'Invitation' do
|
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
-
describe 'test attribute "
|
|
107
|
+
describe 'test attribute "project_roles"' do
|
|
108
108
|
it 'should work' do
|
|
109
109
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
110
110
|
end
|
|
@@ -80,6 +80,18 @@ describe 'JobDetails' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
describe 'test attribute "automation_id"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "job_template_id"' 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
|
+
|
|
83
95
|
describe 'test attribute "owner"' do
|
|
84
96
|
it 'should work' do
|
|
85
97
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -122,4 +134,10 @@ describe 'JobDetails' do
|
|
|
122
134
|
end
|
|
123
135
|
end
|
|
124
136
|
|
|
137
|
+
describe 'test attribute "locked"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
125
143
|
end
|
data/spec/models/job_spec.rb
CHANGED
|
@@ -80,4 +80,16 @@ describe 'Job' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
describe 'test attribute "automation_id"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
describe 'test attribute "job_template_id"' 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
|
+
|
|
83
95
|
end
|
|
@@ -50,6 +50,12 @@ describe 'JobTemplateDetails' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "autotranslate_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 "created_at"' 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 'JobTemplate' do
|
|
|
50
50
|
end
|
|
51
51
|
end
|
|
52
52
|
|
|
53
|
+
describe 'test attribute "autotranslate_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 "created_at"' do
|
|
54
60
|
it 'should work' do
|
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -134,4 +134,16 @@ describe 'KeyCreateParameters' do
|
|
|
134
134
|
end
|
|
135
135
|
end
|
|
136
136
|
|
|
137
|
+
describe 'test attribute "excluded_in_locales"' do
|
|
138
|
+
it 'should work' do
|
|
139
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
describe 'test attribute "format_value_type"' do
|
|
144
|
+
it 'should work' do
|
|
145
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
146
|
+
end
|
|
147
|
+
end
|
|
148
|
+
|
|
137
149
|
end
|
|
@@ -122,4 +122,16 @@ describe 'KeyUpdateParameters' do
|
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
+
describe 'test attribute "excluded_in_locales"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "format_value_type"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
125
137
|
end
|
|
@@ -104,6 +104,12 @@ describe 'LocaleDownloadCreateParameters' do
|
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
describe 'test attribute "fallback_for_unverified_translations"' 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
|
+
|
|
107
113
|
describe 'test attribute "source_locale_id"' do
|
|
108
114
|
it 'should work' do
|
|
109
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|