musicube_api_client_ruby 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +9 -0
- data/README.md +223 -0
- data/Rakefile +10 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/docs/AllowedValuesApi.md +200 -0
- data/docs/CategoryMediumDTO.md +22 -0
- data/docs/CategoryMinimalDTO.md +18 -0
- data/docs/ConfigAccessDTO.md +20 -0
- data/docs/ConfigIdentifierDTO.md +20 -0
- data/docs/ContributorTypeDTO.md +18 -0
- data/docs/ErrorResponse.md +26 -0
- data/docs/FieldSummaryDTO.md +22 -0
- data/docs/FileDTO.md +50 -0
- data/docs/FileListDTO.md +24 -0
- data/docs/FileMinimalWithUrlDTO.md +22 -0
- data/docs/FileSmallDTO.md +46 -0
- data/docs/FileUploadDTO.md +22 -0
- data/docs/FileWIthUrlDTO.md +20 -0
- data/docs/FilesSummaryDTO.md +30 -0
- data/docs/ForgotPasswordDTO.md +20 -0
- data/docs/GenreDTO.md +20 -0
- data/docs/GenreMinimalDTO.md +18 -0
- data/docs/GenresSummaryDTO.md +22 -0
- data/docs/InitPutRecordingAudioDTO.md +22 -0
- data/docs/JwtTokenDTO.md +22 -0
- data/docs/LoginDTO.md +24 -0
- data/docs/MusicalFeaturesDTO.md +186 -0
- data/docs/PLineDTO.md +20 -0
- data/docs/PartyApi.md +75 -0
- data/docs/PartyLargeDTO.md +32 -0
- data/docs/PartySmallDTO.md +20 -0
- data/docs/PlaylistApi.md +221 -0
- data/docs/PlaylistLargeDTO.md +38 -0
- data/docs/ProductMediumDTO.md +34 -0
- data/docs/ProductPartyDTO.md +20 -0
- data/docs/RecordingApi.md +789 -0
- data/docs/RecordingForSimilaritySearchDTO.md +20 -0
- data/docs/RecordingGenrePredictionDTO.md +22 -0
- data/docs/RecordingLargeDTO.md +40 -0
- data/docs/RecordingListDTO.md +24 -0
- data/docs/RecordingMediumDTO.md +36 -0
- data/docs/RecordingMinimalWithMusicalFeaturesDTO.md +20 -0
- data/docs/RecordingMinimalWithTaggramsDTO.md +22 -0
- data/docs/RecordingMinimalWithTagstrengthsDTO.md +20 -0
- data/docs/RecordingPartyDTO.md +20 -0
- data/docs/RecordingPlaylistDTO.md +24 -0
- data/docs/RecordingSmallDTO.md +24 -0
- data/docs/RecordingTagSmallDTO.md +18 -0
- data/docs/SaveFileRecordingDTO.md +236 -0
- data/docs/SavePlaylistDTO.md +34 -0
- data/docs/SaveRecordingGenreDTO.md +22 -0
- data/docs/SaveRecordingPartyDTO.md +20 -0
- data/docs/SaveRecordingPlaylistDTO.md +22 -0
- data/docs/SaveRecordingTagDTO.md +20 -0
- data/docs/SaveReferrerDTO.md +20 -0
- data/docs/SaveTaggramsDTO.md +82 -0
- data/docs/SaveUserDTO.md +28 -0
- data/docs/SearchFilterValuesDTO.md +98 -0
- data/docs/SearchRecordingGranularAbstractionDTO.md +20 -0
- data/docs/SearchRecordingGranularDTO.md +22 -0
- data/docs/SignUpDTO.md +24 -0
- data/docs/TagDTO.md +22 -0
- data/docs/TagSmallDTO.md +20 -0
- data/docs/TaggramDTO.md +26 -0
- data/docs/TagsSummaryDTO.md +22 -0
- data/docs/TagstrengthDTO.md +26 -0
- data/docs/TitleDTO.md +18 -0
- data/docs/TokenRequest.md +18 -0
- data/docs/TrackToMediumProductDTO.md +22 -0
- data/docs/UpdatePasswordDTO.md +20 -0
- data/docs/UsageDTO.md +18 -0
- data/docs/UserApi.md +1936 -0
- data/docs/UserDTO.md +56 -0
- data/git_push.sh +57 -0
- data/lib/musicube_api_client_ruby/api/allowed_values_api.rb +213 -0
- data/lib/musicube_api_client_ruby/api/party_api.rb +84 -0
- data/lib/musicube_api_client_ruby/api/playlist_api.rb +222 -0
- data/lib/musicube_api_client_ruby/api/recording_api.rb +900 -0
- data/lib/musicube_api_client_ruby/api/user_api.rb +2642 -0
- data/lib/musicube_api_client_ruby/api_client.rb +428 -0
- data/lib/musicube_api_client_ruby/api_error.rb +58 -0
- data/lib/musicube_api_client_ruby/configuration.rb +380 -0
- data/lib/musicube_api_client_ruby/models/category_medium_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/category_minimal_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/config_access_dto.rb +287 -0
- data/lib/musicube_api_client_ruby/models/config_identifier_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/contributor_type_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/error_response.rb +276 -0
- data/lib/musicube_api_client_ruby/models/field_summary_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/file_dto.rb +450 -0
- data/lib/musicube_api_client_ruby/models/file_list_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/file_minimal_with_url_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/file_small_dto.rb +432 -0
- data/lib/musicube_api_client_ruby/models/file_upload_dto.rb +244 -0
- data/lib/musicube_api_client_ruby/models/file_w_ith_url_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/files_summary_dto.rb +287 -0
- data/lib/musicube_api_client_ruby/models/forgot_password_dto.rb +267 -0
- data/lib/musicube_api_client_ruby/models/genre_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/genre_minimal_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/genres_summary_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/init_put_recording_audio_dto.rb +238 -0
- data/lib/musicube_api_client_ruby/models/jwt_token_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/login_dto.rb +257 -0
- data/lib/musicube_api_client_ruby/models/musical_features_dto.rb +1532 -0
- data/lib/musicube_api_client_ruby/models/p_line_dto.rb +234 -0
- data/lib/musicube_api_client_ruby/models/party_large_dto.rb +288 -0
- data/lib/musicube_api_client_ruby/models/party_small_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/playlist_large_dto.rb +353 -0
- data/lib/musicube_api_client_ruby/models/product_medium_dto.rb +316 -0
- data/lib/musicube_api_client_ruby/models/product_party_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_for_similarity_search_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/recording_genre_prediction_dto.rb +253 -0
- data/lib/musicube_api_client_ruby/models/recording_large_dto.rb +366 -0
- data/lib/musicube_api_client_ruby/models/recording_list_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/recording_medium_dto.rb +340 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_musical_features_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_taggrams_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/recording_minimal_with_tagstrengths_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_party_dto.rb +236 -0
- data/lib/musicube_api_client_ruby/models/recording_playlist_dto.rb +247 -0
- data/lib/musicube_api_client_ruby/models/recording_small_dto.rb +268 -0
- data/lib/musicube_api_client_ruby/models/recording_tag_small_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/save_file_recording_dto.rb +1847 -0
- data/lib/musicube_api_client_ruby/models/save_playlist_dto.rb +350 -0
- data/lib/musicube_api_client_ruby/models/save_recording_genre_dto.rb +243 -0
- data/lib/musicube_api_client_ruby/models/save_recording_party_dto.rb +273 -0
- data/lib/musicube_api_client_ruby/models/save_recording_playlist_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/save_recording_tag_dto.rb +234 -0
- data/lib/musicube_api_client_ruby/models/save_referrer_dto.rb +229 -0
- data/lib/musicube_api_client_ruby/models/save_taggrams_dto.rb +574 -0
- data/lib/musicube_api_client_ruby/models/save_user_dto.rb +317 -0
- data/lib/musicube_api_client_ruby/models/search_filter_values_dto.rb +867 -0
- data/lib/musicube_api_client_ruby/models/search_recording_granular_abstraction_dto.rb +270 -0
- data/lib/musicube_api_client_ruby/models/search_recording_granular_dto.rb +245 -0
- data/lib/musicube_api_client_ruby/models/sign_up_dto.rb +262 -0
- data/lib/musicube_api_client_ruby/models/tag_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/tag_small_dto.rb +239 -0
- data/lib/musicube_api_client_ruby/models/taggram_dto.rb +271 -0
- data/lib/musicube_api_client_ruby/models/tags_summary_dto.rb +250 -0
- data/lib/musicube_api_client_ruby/models/tagstrength_dto.rb +269 -0
- data/lib/musicube_api_client_ruby/models/title_dto.rb +225 -0
- data/lib/musicube_api_client_ruby/models/token_request.rb +224 -0
- data/lib/musicube_api_client_ruby/models/track_to_medium_product_dto.rb +248 -0
- data/lib/musicube_api_client_ruby/models/update_password_dto.rb +238 -0
- data/lib/musicube_api_client_ruby/models/usage_dto.rb +220 -0
- data/lib/musicube_api_client_ruby/models/user_dto.rb +481 -0
- data/lib/musicube_api_client_ruby/version.rb +15 -0
- data/lib/musicube_api_client_ruby.rb +108 -0
- data/musicube_api_client_ruby.gemspec +39 -0
- data/openapi-generator-config.yaml +9 -0
- data/spec/api/allowed_values_api_spec.rb +68 -0
- data/spec/api/party_api_spec.rb +46 -0
- data/spec/api/playlist_api_spec.rb +72 -0
- data/spec/api/recording_api_spec.rb +192 -0
- data/spec/api/user_api_spec.rb +507 -0
- data/spec/api_client_spec.rb +223 -0
- data/spec/configuration_spec.rb +82 -0
- data/spec/models/category_medium_dto_spec.rb +46 -0
- data/spec/models/category_minimal_dto_spec.rb +34 -0
- data/spec/models/config_access_dto_spec.rb +48 -0
- data/spec/models/config_identifier_dto_spec.rb +40 -0
- data/spec/models/contributor_type_dto_spec.rb +34 -0
- data/spec/models/error_response_spec.rb +58 -0
- data/spec/models/field_summary_dto_spec.rb +46 -0
- data/spec/models/file_dto_spec.rb +142 -0
- data/spec/models/file_list_dto_spec.rb +52 -0
- data/spec/models/file_minimal_with_url_dto_spec.rb +46 -0
- data/spec/models/file_small_dto_spec.rb +130 -0
- data/spec/models/file_upload_dto_spec.rb +46 -0
- data/spec/models/file_w_ith_url_dto_spec.rb +40 -0
- data/spec/models/files_summary_dto_spec.rb +70 -0
- data/spec/models/forgot_password_dto_spec.rb +44 -0
- data/spec/models/genre_dto_spec.rb +40 -0
- data/spec/models/genre_minimal_dto_spec.rb +34 -0
- data/spec/models/genres_summary_dto_spec.rb +46 -0
- data/spec/models/init_put_recording_audio_dto_spec.rb +46 -0
- data/spec/models/jwt_token_dto_spec.rb +46 -0
- data/spec/models/login_dto_spec.rb +52 -0
- data/spec/models/musical_features_dto_spec.rb +706 -0
- data/spec/models/p_line_dto_spec.rb +40 -0
- data/spec/models/party_large_dto_spec.rb +76 -0
- data/spec/models/party_small_dto_spec.rb +40 -0
- data/spec/models/playlist_large_dto_spec.rb +98 -0
- data/spec/models/product_medium_dto_spec.rb +82 -0
- data/spec/models/product_party_dto_spec.rb +40 -0
- data/spec/models/recording_for_similarity_search_dto_spec.rb +40 -0
- data/spec/models/recording_genre_prediction_dto_spec.rb +46 -0
- data/spec/models/recording_large_dto_spec.rb +100 -0
- data/spec/models/recording_list_dto_spec.rb +52 -0
- data/spec/models/recording_medium_dto_spec.rb +88 -0
- data/spec/models/recording_minimal_with_musical_features_dto_spec.rb +40 -0
- data/spec/models/recording_minimal_with_taggrams_dto_spec.rb +46 -0
- data/spec/models/recording_minimal_with_tagstrengths_dto_spec.rb +40 -0
- data/spec/models/recording_party_dto_spec.rb +40 -0
- data/spec/models/recording_playlist_dto_spec.rb +52 -0
- data/spec/models/recording_small_dto_spec.rb +52 -0
- data/spec/models/recording_tag_small_dto_spec.rb +34 -0
- data/spec/models/save_file_recording_dto_spec.rb +880 -0
- data/spec/models/save_playlist_dto_spec.rb +86 -0
- data/spec/models/save_recording_genre_dto_spec.rb +46 -0
- data/spec/models/save_recording_party_dto_spec.rb +44 -0
- data/spec/models/save_recording_playlist_dto_spec.rb +46 -0
- data/spec/models/save_recording_tag_dto_spec.rb +40 -0
- data/spec/models/save_referrer_dto_spec.rb +40 -0
- data/spec/models/save_taggrams_dto_spec.rb +226 -0
- data/spec/models/save_user_dto_spec.rb +72 -0
- data/spec/models/search_filter_values_dto_spec.rb +274 -0
- data/spec/models/search_recording_granular_abstraction_dto_spec.rb +44 -0
- data/spec/models/search_recording_granular_dto_spec.rb +46 -0
- data/spec/models/sign_up_dto_spec.rb +52 -0
- data/spec/models/tag_dto_spec.rb +46 -0
- data/spec/models/tag_small_dto_spec.rb +40 -0
- data/spec/models/taggram_dto_spec.rb +58 -0
- data/spec/models/tags_summary_dto_spec.rb +46 -0
- data/spec/models/tagstrength_dto_spec.rb +58 -0
- data/spec/models/title_dto_spec.rb +34 -0
- data/spec/models/token_request_spec.rb +34 -0
- data/spec/models/track_to_medium_product_dto_spec.rb +46 -0
- data/spec/models/update_password_dto_spec.rb +40 -0
- data/spec/models/usage_dto_spec.rb +34 -0
- data/spec/models/user_dto_spec.rb +148 -0
- data/spec/musicube_api_client_ruby_spec.rb +11 -0
- data/spec/spec_helper.rb +111 -0
- metadata +415 -0
@@ -0,0 +1,880 @@
|
|
1
|
+
=begin
|
2
|
+
#Songtradr API
|
3
|
+
|
4
|
+
#This is the Songtradr API. Use it to retrieve deep music metadata and trigger processes like auto-tagging. You can also use the API to manage your account and musicube cloud data. **Authentication** 1. Reach out to support@songtradr.com to receive a free account or use your login data if you are already signed up. 2. To authenticate, you need to login via the POST /api/v1/user/login endpoint. 3. The endpoint responds with a jwtToken which you can use in all following API requests as a bearer token. **Rate Limiting** The current limit is 120 Requests per minute. Reach out to us via support@songtradr.com if you need to request more. **Getting Started with auto-tagging** 1. If you want to get your own files auto-tagged, use the POST /api/v1/user/file/{name}/initUpload endpoint. It responds with a presigned S3 link where you can upload your file. 2. You can check the processing status of your file via the GET /api/v1/user/file/{name}/filesStatus endpoint. 3. As soon as processing is done, you can request the generated data via the GET /api/v1/user/files endpoint. **Getting Started with search** You can either search the released music via the /public/recording endpoints or your own private uploaded music via the /user/file/ endpoints. 1. If you want to search the world's released music, a good starting point is the GET /api/v1/public/recording/search endpoint. Please find the extensive list of parameters that serve as semantic search filters. 2. If you want to search your own previously uploaded music, a good starting point is the GET GET /api/v1/user/files endpoint. It has the same extensive list of parameters that serve as semantic search filters.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.12.21
|
7
|
+
Contact: info@songtradr.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 6.6.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MusicubeApiClientRuby::SaveFileRecordingDTO
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MusicubeApiClientRuby::SaveFileRecordingDTO do
|
21
|
+
let(:instance) { MusicubeApiClientRuby::SaveFileRecordingDTO.new }
|
22
|
+
|
23
|
+
describe 'test an instance of SaveFileRecordingDTO' do
|
24
|
+
it 'should create an instance of SaveFileRecordingDTO' do
|
25
|
+
expect(instance).to be_instance_of(MusicubeApiClientRuby::SaveFileRecordingDTO)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "isrc"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "name"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "folder"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "primary_mood_cluster_affinity"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "primary_mood_cluster"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
56
|
+
# validator.allowable_values.each do |value|
|
57
|
+
# expect { instance.primary_mood_cluster = value }.not_to raise_error
|
58
|
+
# end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe 'test attribute "secondary_mood_cluster_affinity"' do
|
63
|
+
it 'should work' do
|
64
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe 'test attribute "secondary_mood_cluster"' do
|
69
|
+
it 'should work' do
|
70
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
71
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
72
|
+
# validator.allowable_values.each do |value|
|
73
|
+
# expect { instance.secondary_mood_cluster = value }.not_to raise_error
|
74
|
+
# end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "tertiary_mood_cluster_affinity"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "tertiary_mood_cluster"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["aggressive", "amusing", "anxious", "calm", "devotional", "dreamy", "energetic", "enigmatic", "epic", "erotic", "positive", "sad", "scary", "wild"])
|
88
|
+
# validator.allowable_values.each do |value|
|
89
|
+
# expect { instance.tertiary_mood_cluster = value }.not_to raise_error
|
90
|
+
# end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
describe 'test attribute "valence_affinity"' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
describe 'test attribute "arousal_affinity"' do
|
101
|
+
it 'should work' do
|
102
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
describe 'test attribute "pleasantness_affinity"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "engagement_affinity"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
118
|
+
describe 'test attribute "valence"' do
|
119
|
+
it 'should work' do
|
120
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
121
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very sad", "sad", "moderate valence", "positive", "very positive", "varying valence"])
|
122
|
+
# validator.allowable_values.each do |value|
|
123
|
+
# expect { instance.valence = value }.not_to raise_error
|
124
|
+
# end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
describe 'test attribute "arousal"' do
|
129
|
+
it 'should work' do
|
130
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
131
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very calm", "calm", "moderate arousal", "energetic", "very energetic", "varying arousal"])
|
132
|
+
# validator.allowable_values.each do |value|
|
133
|
+
# expect { instance.arousal = value }.not_to raise_error
|
134
|
+
# end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
describe 'test attribute "pleasantness"' do
|
139
|
+
it 'should work' do
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
141
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unpleasant", "unpleasant", "neutral pleasantness", "pleasant", "very pleasant", "varying pleasantness"])
|
142
|
+
# validator.allowable_values.each do |value|
|
143
|
+
# expect { instance.pleasantness = value }.not_to raise_error
|
144
|
+
# end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
describe 'test attribute "engagement"' do
|
149
|
+
it 'should work' do
|
150
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
151
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very unengaging", "unengaging", "neutral engagement", "engaging", "very engaging", "varying engagement"])
|
152
|
+
# validator.allowable_values.each do |value|
|
153
|
+
# expect { instance.engagement = value }.not_to raise_error
|
154
|
+
# end
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
describe 'test attribute "vocals"' do
|
159
|
+
it 'should work' do
|
160
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
161
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["instrumental", "female vocals", "male vocals", "mixed vocals", "diverse gender vocals"])
|
162
|
+
# validator.allowable_values.each do |value|
|
163
|
+
# expect { instance.vocals = value }.not_to raise_error
|
164
|
+
# end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
describe 'test attribute "vocals_affinity"' do
|
169
|
+
it 'should work' do
|
170
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
171
|
+
end
|
172
|
+
end
|
173
|
+
|
174
|
+
describe 'test attribute "dominant_instrument"' do
|
175
|
+
it 'should work' do
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
177
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
178
|
+
# validator.allowable_values.each do |value|
|
179
|
+
# expect { instance.dominant_instrument = value }.not_to raise_error
|
180
|
+
# end
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'test attribute "dominant_instrument_affinity"' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe 'test attribute "secondary_instrument_affinity"' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
describe 'test attribute "secondary_instrument"' do
|
197
|
+
it 'should work' do
|
198
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
199
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
200
|
+
# validator.allowable_values.each do |value|
|
201
|
+
# expect { instance.secondary_instrument = value }.not_to raise_error
|
202
|
+
# end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe 'test attribute "tertiary_instrument_affinity"' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
describe 'test attribute "tertiary_instrument"' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
215
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["electric guitar", "piano", "electronics", "guitar", "strings", "synthesizer", "wind", "saxophone", "flute", "trumpet", "drum kit", "keys", "accordion", "violin", "harpsichord", "choir", "cello", "electric bass", "organ", "brass", "percussion", "vocals", "double bass", "harp"])
|
216
|
+
# validator.allowable_values.each do |value|
|
217
|
+
# expect { instance.tertiary_instrument = value }.not_to raise_error
|
218
|
+
# end
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
222
|
+
describe 'test attribute "energy"' do
|
223
|
+
it 'should work' do
|
224
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
225
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very quiet", "quiet", "moderate", "loud", "very loud", "dynamic"])
|
226
|
+
# validator.allowable_values.each do |value|
|
227
|
+
# expect { instance.energy = value }.not_to raise_error
|
228
|
+
# end
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
describe 'test attribute "energy_affinity"' do
|
233
|
+
it 'should work' do
|
234
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
describe 'test attribute "sound_generation"' do
|
239
|
+
it 'should work' do
|
240
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
241
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["acoustic", "electric", "electronic", "mixed sound generation"])
|
242
|
+
# validator.allowable_values.each do |value|
|
243
|
+
# expect { instance.sound_generation = value }.not_to raise_error
|
244
|
+
# end
|
245
|
+
end
|
246
|
+
end
|
247
|
+
|
248
|
+
describe 'test attribute "sound_generation_affinity"' do
|
249
|
+
it 'should work' do
|
250
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
254
|
+
describe 'test attribute "tempo"' do
|
255
|
+
it 'should work' do
|
256
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
257
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very slow", "slow", "mid-tempo", "fast", "very fast", "varying tempo"])
|
258
|
+
# validator.allowable_values.each do |value|
|
259
|
+
# expect { instance.tempo = value }.not_to raise_error
|
260
|
+
# end
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
describe 'test attribute "tempo_affinity"' do
|
265
|
+
it 'should work' do
|
266
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
describe 'test attribute "scale"' do
|
271
|
+
it 'should work' do
|
272
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
273
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["major key", "minor key", "neutral key"])
|
274
|
+
# validator.allowable_values.each do |value|
|
275
|
+
# expect { instance.scale = value }.not_to raise_error
|
276
|
+
# end
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
describe 'test attribute "scale_affinity"' do
|
281
|
+
it 'should work' do
|
282
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
283
|
+
end
|
284
|
+
end
|
285
|
+
|
286
|
+
describe 'test attribute "rhythm"' do
|
287
|
+
it 'should work' do
|
288
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
289
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["common time", "triple meter", "complex time signature", "binary rhythm", "ternary rhythm"])
|
290
|
+
# validator.allowable_values.each do |value|
|
291
|
+
# expect { instance.rhythm = value }.not_to raise_error
|
292
|
+
# end
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
describe 'test attribute "rhythm_affinity"' do
|
297
|
+
it 'should work' do
|
298
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
299
|
+
end
|
300
|
+
end
|
301
|
+
|
302
|
+
describe 'test attribute "primary_sound_character"' do
|
303
|
+
it 'should work' do
|
304
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
305
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["brassy", "bright", "clear", "deep", "distorted", "flat", "full", "groovy", "melodious", "natural", "resonant", "shrill", "steady", "thin", "warm"])
|
306
|
+
# validator.allowable_values.each do |value|
|
307
|
+
# expect { instance.primary_sound_character = value }.not_to raise_error
|
308
|
+
# end
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
describe 'test attribute "primary_sound_character_affinity"' do
|
313
|
+
it 'should work' do
|
314
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
315
|
+
end
|
316
|
+
end
|
317
|
+
|
318
|
+
describe 'test attribute "timbre_affinity"' do
|
319
|
+
it 'should work' do
|
320
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
321
|
+
end
|
322
|
+
end
|
323
|
+
|
324
|
+
describe 'test attribute "roughness_affinity"' do
|
325
|
+
it 'should work' do
|
326
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
describe 'test attribute "tonality_affinity"' do
|
331
|
+
it 'should work' do
|
332
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
describe 'test attribute "harmony_affinity"' do
|
337
|
+
it 'should work' do
|
338
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
339
|
+
end
|
340
|
+
end
|
341
|
+
|
342
|
+
describe 'test attribute "texture_affinity"' do
|
343
|
+
it 'should work' do
|
344
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
describe 'test attribute "groovyness_affinity"' do
|
349
|
+
it 'should work' do
|
350
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
describe 'test attribute "space_affinity"' do
|
355
|
+
it 'should work' do
|
356
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
describe 'test attribute "timbre"' do
|
361
|
+
it 'should work' do
|
362
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
363
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very warm", "warm", "moderate timbre", "bright", "very bright"])
|
364
|
+
# validator.allowable_values.each do |value|
|
365
|
+
# expect { instance.timbre = value }.not_to raise_error
|
366
|
+
# end
|
367
|
+
end
|
368
|
+
end
|
369
|
+
|
370
|
+
describe 'test attribute "roughness"' do
|
371
|
+
it 'should work' do
|
372
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
373
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very clear", "clear", "moderate roughness", "distorted", "very distorted"])
|
374
|
+
# validator.allowable_values.each do |value|
|
375
|
+
# expect { instance.roughness = value }.not_to raise_error
|
376
|
+
# end
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
describe 'test attribute "tonality"' do
|
381
|
+
it 'should work' do
|
382
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
383
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["monotonous", "moderate melodiousness", "melodious", "atonal"])
|
384
|
+
# validator.allowable_values.each do |value|
|
385
|
+
# expect { instance.tonality = value }.not_to raise_error
|
386
|
+
# end
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
390
|
+
describe 'test attribute "harmony"' do
|
391
|
+
it 'should work' do
|
392
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
393
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very dissonant", "dissonant", "moderate harmonies", "harmonious", "very harmonious"])
|
394
|
+
# validator.allowable_values.each do |value|
|
395
|
+
# expect { instance.harmony = value }.not_to raise_error
|
396
|
+
# end
|
397
|
+
end
|
398
|
+
end
|
399
|
+
|
400
|
+
describe 'test attribute "texture"' do
|
401
|
+
it 'should work' do
|
402
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
403
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very thin", "thin", "moderate texture", "full", "very full"])
|
404
|
+
# validator.allowable_values.each do |value|
|
405
|
+
# expect { instance.texture = value }.not_to raise_error
|
406
|
+
# end
|
407
|
+
end
|
408
|
+
end
|
409
|
+
|
410
|
+
describe 'test attribute "groovyness"' do
|
411
|
+
it 'should work' do
|
412
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
413
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very steady", "steady", "moderate rhythm feel", "groovy", "very groovy"])
|
414
|
+
# validator.allowable_values.each do |value|
|
415
|
+
# expect { instance.groovyness = value }.not_to raise_error
|
416
|
+
# end
|
417
|
+
end
|
418
|
+
end
|
419
|
+
|
420
|
+
describe 'test attribute "space"' do
|
421
|
+
it 'should work' do
|
422
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
423
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["very compact", "compact", "moderate space", "wide", "very wide"])
|
424
|
+
# validator.allowable_values.each do |value|
|
425
|
+
# expect { instance.space = value }.not_to raise_error
|
426
|
+
# end
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
describe 'test attribute "bpm"' do
|
431
|
+
it 'should work' do
|
432
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
describe 'test attribute "key"' do
|
437
|
+
it 'should work' do
|
438
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
439
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B", "unclear"])
|
440
|
+
# validator.allowable_values.each do |value|
|
441
|
+
# expect { instance.key = value }.not_to raise_error
|
442
|
+
# end
|
443
|
+
end
|
444
|
+
end
|
445
|
+
|
446
|
+
describe 'test attribute "key_affinity"' do
|
447
|
+
it 'should work' do
|
448
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
describe 'test attribute "production_rating"' do
|
453
|
+
it 'should work' do
|
454
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
455
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low production quality", "medium production quality", "high production quality"])
|
456
|
+
# validator.allowable_values.each do |value|
|
457
|
+
# expect { instance.production_rating = value }.not_to raise_error
|
458
|
+
# end
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
describe 'test attribute "production_rating_affinity"' do
|
463
|
+
it 'should work' do
|
464
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
describe 'test attribute "performance_rating"' do
|
469
|
+
it 'should work' do
|
470
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
471
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low performance quality", "medium performance quality", "high performance quality"])
|
472
|
+
# validator.allowable_values.each do |value|
|
473
|
+
# expect { instance.performance_rating = value }.not_to raise_error
|
474
|
+
# end
|
475
|
+
end
|
476
|
+
end
|
477
|
+
|
478
|
+
describe 'test attribute "performance_rating_affinity"' do
|
479
|
+
it 'should work' do
|
480
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
481
|
+
end
|
482
|
+
end
|
483
|
+
|
484
|
+
describe 'test attribute "song_rating"' do
|
485
|
+
it 'should work' do
|
486
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
487
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["low song quality", "medium song quality", "high song quality"])
|
488
|
+
# validator.allowable_values.each do |value|
|
489
|
+
# expect { instance.song_rating = value }.not_to raise_error
|
490
|
+
# end
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
describe 'test attribute "song_rating_affinity"' do
|
495
|
+
it 'should work' do
|
496
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
497
|
+
end
|
498
|
+
end
|
499
|
+
|
500
|
+
describe 'test attribute "audience_gender"' do
|
501
|
+
it 'should work' do
|
502
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
503
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["male", "female"])
|
504
|
+
# validator.allowable_values.each do |value|
|
505
|
+
# expect { instance.audience_gender = value }.not_to raise_error
|
506
|
+
# end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
describe 'test attribute "audience_gender_affinity"' do
|
511
|
+
it 'should work' do
|
512
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
513
|
+
end
|
514
|
+
end
|
515
|
+
|
516
|
+
describe 'test attribute "audience_region"' do
|
517
|
+
it 'should work' do
|
518
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
519
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
520
|
+
# validator.allowable_values.each do |value|
|
521
|
+
# expect { instance.audience_region = value }.not_to raise_error
|
522
|
+
# end
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
526
|
+
describe 'test attribute "audience_region_affinity"' do
|
527
|
+
it 'should work' do
|
528
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
describe 'test attribute "secondary_audience_region_affinity"' do
|
533
|
+
it 'should work' do
|
534
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
535
|
+
end
|
536
|
+
end
|
537
|
+
|
538
|
+
describe 'test attribute "secondary_audience_region"' do
|
539
|
+
it 'should work' do
|
540
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
541
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
542
|
+
# validator.allowable_values.each do |value|
|
543
|
+
# expect { instance.secondary_audience_region = value }.not_to raise_error
|
544
|
+
# end
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
describe 'test attribute "tertiary_audience_region_affinity"' do
|
549
|
+
it 'should work' do
|
550
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
551
|
+
end
|
552
|
+
end
|
553
|
+
|
554
|
+
describe 'test attribute "tertiary_audience_region"' do
|
555
|
+
it 'should work' do
|
556
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
557
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
558
|
+
# validator.allowable_values.each do |value|
|
559
|
+
# expect { instance.tertiary_audience_region = value }.not_to raise_error
|
560
|
+
# end
|
561
|
+
end
|
562
|
+
end
|
563
|
+
|
564
|
+
describe 'test attribute "audience_age"' do
|
565
|
+
it 'should work' do
|
566
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
567
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
568
|
+
# validator.allowable_values.each do |value|
|
569
|
+
# expect { instance.audience_age = value }.not_to raise_error
|
570
|
+
# end
|
571
|
+
end
|
572
|
+
end
|
573
|
+
|
574
|
+
describe 'test attribute "audience_age_affinity"' do
|
575
|
+
it 'should work' do
|
576
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
577
|
+
end
|
578
|
+
end
|
579
|
+
|
580
|
+
describe 'test attribute "secondary_audience_age"' do
|
581
|
+
it 'should work' do
|
582
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
583
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
584
|
+
# validator.allowable_values.each do |value|
|
585
|
+
# expect { instance.secondary_audience_age = value }.not_to raise_error
|
586
|
+
# end
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
describe 'test attribute "secondary_audience_age_affinity"' do
|
591
|
+
it 'should work' do
|
592
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
describe 'test attribute "tertiary_audience_age"' do
|
597
|
+
it 'should work' do
|
598
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
599
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Generation Z", "Younger Generation Y", "Older Generation Y", "Generation X", "Younger Generation B", "Older Generation B"])
|
600
|
+
# validator.allowable_values.each do |value|
|
601
|
+
# expect { instance.tertiary_audience_age = value }.not_to raise_error
|
602
|
+
# end
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
describe 'test attribute "tertiary_audience_age_affinity"' do
|
607
|
+
it 'should work' do
|
608
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
609
|
+
end
|
610
|
+
end
|
611
|
+
|
612
|
+
describe 'test attribute "origin_decade"' do
|
613
|
+
it 'should work' do
|
614
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
615
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["pre-1950s", "1950s", "1960s", "1970s", "1980s", "1990s", "2000s", "2010s", "2020s"])
|
616
|
+
# validator.allowable_values.each do |value|
|
617
|
+
# expect { instance.origin_decade = value }.not_to raise_error
|
618
|
+
# end
|
619
|
+
end
|
620
|
+
end
|
621
|
+
|
622
|
+
describe 'test attribute "origin_decade_affinity"' do
|
623
|
+
it 'should work' do
|
624
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
625
|
+
end
|
626
|
+
end
|
627
|
+
|
628
|
+
describe 'test attribute "language_of_performance"' do
|
629
|
+
it 'should work' do
|
630
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
631
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["en", "de", "no", "fr", "es", "pt", "fi", "ru", "it", "la", "el", "ar", "nl", "ja", "pl", "sv", "zu", "da", "cs", "hu", "af", "hi", "tr", "zh", "ms", "pa", "id", "ko", "vi"])
|
632
|
+
# validator.allowable_values.each do |value|
|
633
|
+
# expect { instance.language_of_performance = value }.not_to raise_error
|
634
|
+
# end
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
describe 'test attribute "language_of_performance_affinity"' do
|
639
|
+
it 'should work' do
|
640
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
644
|
+
describe 'test attribute "origin_region"' do
|
645
|
+
it 'should work' do
|
646
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
647
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Australia and New Zealand", "Central America and the Carribean", "Central and Southern Asia", "Eastern Asia", "Eastern Europe", "Northern Africa and Western Asia", "Northern America", "Oceania", "South America", "South-Eastern Asia", "Southern Europe", "Sub-Saharan Africa", "Western and Northern Europe"])
|
648
|
+
# validator.allowable_values.each do |value|
|
649
|
+
# expect { instance.origin_region = value }.not_to raise_error
|
650
|
+
# end
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
654
|
+
describe 'test attribute "origin_region_affinity"' do
|
655
|
+
it 'should work' do
|
656
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
describe 'test attribute "taggrams"' do
|
661
|
+
it 'should work' do
|
662
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
describe 'test attribute "embeddings"' do
|
667
|
+
it 'should work' do
|
668
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
672
|
+
describe 'test attribute "level1_genre"' do
|
673
|
+
it 'should work' do
|
674
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
675
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Pop", "Rock", "Metal", "Jazz", "World", "Country", "Functional Music", "Classical", "Alternative", "R&B", "Blues", "Hip Hop", "Reggae", "Electronic", "Spoken Word", "Folk"])
|
676
|
+
# validator.allowable_values.each do |value|
|
677
|
+
# expect { instance.level1_genre = value }.not_to raise_error
|
678
|
+
# end
|
679
|
+
end
|
680
|
+
end
|
681
|
+
|
682
|
+
describe 'test attribute "level1_genre_affinity"' do
|
683
|
+
it 'should work' do
|
684
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
describe 'test attribute "secondary_level1_genre"' do
|
689
|
+
it 'should work' do
|
690
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
691
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Pop", "Rock", "Metal", "Jazz", "World", "Country", "Functional Music", "Classical", "Alternative", "R&B", "Blues", "Hip Hop", "Reggae", "Electronic", "Spoken Word", "Folk"])
|
692
|
+
# validator.allowable_values.each do |value|
|
693
|
+
# expect { instance.secondary_level1_genre = value }.not_to raise_error
|
694
|
+
# end
|
695
|
+
end
|
696
|
+
end
|
697
|
+
|
698
|
+
describe 'test attribute "secondary_level1_genre_affinity"' do
|
699
|
+
it 'should work' do
|
700
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
704
|
+
describe 'test attribute "tertiary_level1_genre"' do
|
705
|
+
it 'should work' do
|
706
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
707
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Pop", "Rock", "Metal", "Jazz", "World", "Country", "Functional Music", "Classical", "Alternative", "R&B", "Blues", "Hip Hop", "Reggae", "Electronic", "Spoken Word", "Folk"])
|
708
|
+
# validator.allowable_values.each do |value|
|
709
|
+
# expect { instance.tertiary_level1_genre = value }.not_to raise_error
|
710
|
+
# end
|
711
|
+
end
|
712
|
+
end
|
713
|
+
|
714
|
+
describe 'test attribute "tertiary_level1_genre_affinity"' do
|
715
|
+
it 'should work' do
|
716
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
717
|
+
end
|
718
|
+
end
|
719
|
+
|
720
|
+
describe 'test attribute "level2_genre"' do
|
721
|
+
it 'should work' do
|
722
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
723
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Electro Pop", "Indie Pop", "Indie Rock", "Electroclash", "Adult Contemporary", "Easy Listening", "Comedy Music", "New Age", "Chanson", "Singer/Songwriter", "Schlager", "Volksmusik", "Rock'n'Roll", "Rockabilly", "Psychobilly", "Surf", "Doo Wop", "Mainstream Rock", "Mersey Beat", "Glamrock", "Latin Rock", "Melodic Rock", "Progressive Rock", "Psychedelic Rock", "Hard Rock", "Krautrock", "Power Metal", "Nu Metal", "Grind Core", "Gothic Metal", "Death Metal", "Melodic Death Metal", "Thrash Metal", "Black Metal", "Glam Metal", "Sleaze Metal", "Metalcore", "Progressive Metal", "Screamo", "Symphonic Metal", "Swing", "Ragtime", "Dixieland", "Boogie Woogie", "Bebop", "Cool Jazz", "Free Jazz", "Fusion", "Smooth Jazz", "Acid Jazz", "Bossa Nova", "Latin Jazz", "Nu-Jazz", "Tango", "Samba", "Salsa", "Axé", "Sertanejo", "Forró", "Choro", "Fado", "Flamenco", "Blasmusik", "American Folk", "Irish Folk", "Americana", "Bluegrass", "Red Dirt", "Outlaw Country", "Nashville", "Honkytonk", "Production Music", "Soundtrack", "Musical", "Medieval", "Renaissance", "Baroque", "Classical Period", "Romanticism", "Neue Musik", "Minimal Music", "Neoklassik", "Postmoderne Musik", "Punk", "Noise Rock", "Garage", "Grunge", "Industrial", "New Wave", "Post Punk", "Gothic Rock", "Stoner Rock", "Pop Punk", "Post Hardcore", "Post Rock", "Post Metal", "Post-Grunge", "Britpop", "Ska Punk", "Math Rock", "Dreampop", "Shoegaze", "Contemporary R&B", "Rhythm And Blues", "Disco", "Chicago Soul", "Detroit Soul", "Urban", "Nu R&B", "Neo Soul", "Early Funk", "Funk Rock", "Folk Blues", "Classics Blues", "Blues Rock", "Trap Music", "Electro-hop", "Hardcore Rap", "Miami Bass & Bounce", "Dirty South Rap", "Turntablism", "West Coast Gangsta Rap", "East Coast Gangsta Rap", "Roots-Reggae", "Dub", "Raggamuffin", "Ska", "Dancehall", "Chicago House", "Ambient House", "Deep House", "Tech House", "Acid House", "Dutch House", "Progressive House", "Funky House", "Nu Disco", "Minimal Techno", "Hardcore Techno", "IDM", "Trance", "Psytrance", "Progressive Trance", "Grime", "Big Beat", "Dub Step", "Liquid Funk", "Hard Step", "Jump Up", "Old School Jungle", "Trip Hop", "Gospel", "Dancepop", "Indietronica", "Nu Rave", "Emo-Rock", "Post-Punk Revival", "Nu Prog", "Indie Folk", "Audiobook", "Audioplay", "Relaxation", "Ambient House / Chill-Out", "Chemical Breaks & Big Beat", "Chicago House & Garage House", "Chicago Soul & Detroit Soul", "Comedy", "Dark Wave", "Dreampop & Shoegaze", "Electro House & Dutch House", "French House & Funky House", "Golden Age Rad & Hardcore Rap", "Hard Step & Tech Step", "Indietronica & Chillwave", "Nu Disco & Funktronica", "Doom Metal", "Mathcore", "Psy Trance", "Roots Rock"])
|
724
|
+
# validator.allowable_values.each do |value|
|
725
|
+
# expect { instance.level2_genre = value }.not_to raise_error
|
726
|
+
# end
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
describe 'test attribute "level2_genre_affinity"' do
|
731
|
+
it 'should work' do
|
732
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
733
|
+
end
|
734
|
+
end
|
735
|
+
|
736
|
+
describe 'test attribute "secondary_level2_genre"' do
|
737
|
+
it 'should work' do
|
738
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
739
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Electro Pop", "Indie Pop", "Indie Rock", "Electroclash", "Adult Contemporary", "Easy Listening", "Comedy Music", "New Age", "Chanson", "Singer/Songwriter", "Schlager", "Volksmusik", "Rock'n'Roll", "Rockabilly", "Psychobilly", "Surf", "Doo Wop", "Mainstream Rock", "Mersey Beat", "Glamrock", "Latin Rock", "Melodic Rock", "Progressive Rock", "Psychedelic Rock", "Hard Rock", "Krautrock", "Power Metal", "Nu Metal", "Grind Core", "Gothic Metal", "Death Metal", "Melodic Death Metal", "Thrash Metal", "Black Metal", "Glam Metal", "Sleaze Metal", "Metalcore", "Progressive Metal", "Screamo", "Symphonic Metal", "Swing", "Ragtime", "Dixieland", "Boogie Woogie", "Bebop", "Cool Jazz", "Free Jazz", "Fusion", "Smooth Jazz", "Acid Jazz", "Bossa Nova", "Latin Jazz", "Nu-Jazz", "Tango", "Samba", "Salsa", "Axé", "Sertanejo", "Forró", "Choro", "Fado", "Flamenco", "Blasmusik", "American Folk", "Irish Folk", "Americana", "Bluegrass", "Red Dirt", "Outlaw Country", "Nashville", "Honkytonk", "Production Music", "Soundtrack", "Musical", "Medieval", "Renaissance", "Baroque", "Classical Period", "Romanticism", "Neue Musik", "Minimal Music", "Neoklassik", "Postmoderne Musik", "Punk", "Noise Rock", "Garage", "Grunge", "Industrial", "New Wave", "Post Punk", "Gothic Rock", "Stoner Rock", "Pop Punk", "Post Hardcore", "Post Rock", "Post Metal", "Post-Grunge", "Britpop", "Ska Punk", "Math Rock", "Dreampop", "Shoegaze", "Contemporary R&B", "Rhythm And Blues", "Disco", "Chicago Soul", "Detroit Soul", "Urban", "Nu R&B", "Neo Soul", "Early Funk", "Funk Rock", "Folk Blues", "Classics Blues", "Blues Rock", "Trap Music", "Electro-hop", "Hardcore Rap", "Miami Bass & Bounce", "Dirty South Rap", "Turntablism", "West Coast Gangsta Rap", "East Coast Gangsta Rap", "Roots-Reggae", "Dub", "Raggamuffin", "Ska", "Dancehall", "Chicago House", "Ambient House", "Deep House", "Tech House", "Acid House", "Dutch House", "Progressive House", "Funky House", "Nu Disco", "Minimal Techno", "Hardcore Techno", "IDM", "Trance", "Psytrance", "Progressive Trance", "Grime", "Big Beat", "Dub Step", "Liquid Funk", "Hard Step", "Jump Up", "Old School Jungle", "Trip Hop", "Gospel", "Dancepop", "Indietronica", "Nu Rave", "Emo-Rock", "Post-Punk Revival", "Nu Prog", "Indie Folk", "Audiobook", "Audioplay", "Relaxation", "Ambient House / Chill-Out", "Chemical Breaks & Big Beat", "Chicago House & Garage House", "Chicago Soul & Detroit Soul", "Comedy", "Dark Wave", "Dreampop & Shoegaze", "Electro House & Dutch House", "French House & Funky House", "Golden Age Rad & Hardcore Rap", "Hard Step & Tech Step", "Indietronica & Chillwave", "Nu Disco & Funktronica", "Doom Metal", "Mathcore", "Psy Trance", "Roots Rock"])
|
740
|
+
# validator.allowable_values.each do |value|
|
741
|
+
# expect { instance.secondary_level2_genre = value }.not_to raise_error
|
742
|
+
# end
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
describe 'test attribute "secondary_level2_genre_affinity"' do
|
747
|
+
it 'should work' do
|
748
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
749
|
+
end
|
750
|
+
end
|
751
|
+
|
752
|
+
describe 'test attribute "tertiary_level2_genre"' do
|
753
|
+
it 'should work' do
|
754
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
755
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Electro Pop", "Indie Pop", "Indie Rock", "Electroclash", "Adult Contemporary", "Easy Listening", "Comedy Music", "New Age", "Chanson", "Singer/Songwriter", "Schlager", "Volksmusik", "Rock'n'Roll", "Rockabilly", "Psychobilly", "Surf", "Doo Wop", "Mainstream Rock", "Mersey Beat", "Glamrock", "Latin Rock", "Melodic Rock", "Progressive Rock", "Psychedelic Rock", "Hard Rock", "Krautrock", "Power Metal", "Nu Metal", "Grind Core", "Gothic Metal", "Death Metal", "Melodic Death Metal", "Thrash Metal", "Black Metal", "Glam Metal", "Sleaze Metal", "Metalcore", "Progressive Metal", "Screamo", "Symphonic Metal", "Swing", "Ragtime", "Dixieland", "Boogie Woogie", "Bebop", "Cool Jazz", "Free Jazz", "Fusion", "Smooth Jazz", "Acid Jazz", "Bossa Nova", "Latin Jazz", "Nu-Jazz", "Tango", "Samba", "Salsa", "Axé", "Sertanejo", "Forró", "Choro", "Fado", "Flamenco", "Blasmusik", "American Folk", "Irish Folk", "Americana", "Bluegrass", "Red Dirt", "Outlaw Country", "Nashville", "Honkytonk", "Production Music", "Soundtrack", "Musical", "Medieval", "Renaissance", "Baroque", "Classical Period", "Romanticism", "Neue Musik", "Minimal Music", "Neoklassik", "Postmoderne Musik", "Punk", "Noise Rock", "Garage", "Grunge", "Industrial", "New Wave", "Post Punk", "Gothic Rock", "Stoner Rock", "Pop Punk", "Post Hardcore", "Post Rock", "Post Metal", "Post-Grunge", "Britpop", "Ska Punk", "Math Rock", "Dreampop", "Shoegaze", "Contemporary R&B", "Rhythm And Blues", "Disco", "Chicago Soul", "Detroit Soul", "Urban", "Nu R&B", "Neo Soul", "Early Funk", "Funk Rock", "Folk Blues", "Classics Blues", "Blues Rock", "Trap Music", "Electro-hop", "Hardcore Rap", "Miami Bass & Bounce", "Dirty South Rap", "Turntablism", "West Coast Gangsta Rap", "East Coast Gangsta Rap", "Roots-Reggae", "Dub", "Raggamuffin", "Ska", "Dancehall", "Chicago House", "Ambient House", "Deep House", "Tech House", "Acid House", "Dutch House", "Progressive House", "Funky House", "Nu Disco", "Minimal Techno", "Hardcore Techno", "IDM", "Trance", "Psytrance", "Progressive Trance", "Grime", "Big Beat", "Dub Step", "Liquid Funk", "Hard Step", "Jump Up", "Old School Jungle", "Trip Hop", "Gospel", "Dancepop", "Indietronica", "Nu Rave", "Emo-Rock", "Post-Punk Revival", "Nu Prog", "Indie Folk", "Audiobook", "Audioplay", "Relaxation", "Ambient House / Chill-Out", "Chemical Breaks & Big Beat", "Chicago House & Garage House", "Chicago Soul & Detroit Soul", "Comedy", "Dark Wave", "Dreampop & Shoegaze", "Electro House & Dutch House", "French House & Funky House", "Golden Age Rad & Hardcore Rap", "Hard Step & Tech Step", "Indietronica & Chillwave", "Nu Disco & Funktronica", "Doom Metal", "Mathcore", "Psy Trance", "Roots Rock"])
|
756
|
+
# validator.allowable_values.each do |value|
|
757
|
+
# expect { instance.tertiary_level2_genre = value }.not_to raise_error
|
758
|
+
# end
|
759
|
+
end
|
760
|
+
end
|
761
|
+
|
762
|
+
describe 'test attribute "tertiary_level2_genre_affinity"' do
|
763
|
+
it 'should work' do
|
764
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
765
|
+
end
|
766
|
+
end
|
767
|
+
|
768
|
+
describe 'test attribute "curateability"' do
|
769
|
+
it 'should work' do
|
770
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
771
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["curateable", "uncurateable"])
|
772
|
+
# validator.allowable_values.each do |value|
|
773
|
+
# expect { instance.curateability = value }.not_to raise_error
|
774
|
+
# end
|
775
|
+
end
|
776
|
+
end
|
777
|
+
|
778
|
+
describe 'test attribute "curateability_affinity"' do
|
779
|
+
it 'should work' do
|
780
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
781
|
+
end
|
782
|
+
end
|
783
|
+
|
784
|
+
describe 'test attribute "use_case"' do
|
785
|
+
it 'should work' do
|
786
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
787
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["background", "sport", "focus", "christmas", "film", "summer", "adverts", "party", "relax"])
|
788
|
+
# validator.allowable_values.each do |value|
|
789
|
+
# expect { instance.use_case = value }.not_to raise_error
|
790
|
+
# end
|
791
|
+
end
|
792
|
+
end
|
793
|
+
|
794
|
+
describe 'test attribute "use_case_affinity"' do
|
795
|
+
it 'should work' do
|
796
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
describe 'test attribute "social_media"' do
|
801
|
+
it 'should work' do
|
802
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
803
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Spotify", "TikTok", "Unfitting", "YouTube"])
|
804
|
+
# validator.allowable_values.each do |value|
|
805
|
+
# expect { instance.social_media = value }.not_to raise_error
|
806
|
+
# end
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
810
|
+
describe 'test attribute "social_media_affinity"' do
|
811
|
+
it 'should work' do
|
812
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
813
|
+
end
|
814
|
+
end
|
815
|
+
|
816
|
+
describe 'test attribute "industry_suitability"' do
|
817
|
+
it 'should work' do
|
818
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
819
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["Automobiles and Parts", "Consumer Products and Services", "Financial Services", "Food, Beverage and Tobacco", "Health Care", "Insurance", "Media", "Politics, Government and Organizations", "Real Estate", "Retail", "Technology", "Telecommunications", "Travel and Leisure"])
|
820
|
+
# validator.allowable_values.each do |value|
|
821
|
+
# expect { instance.industry_suitability = value }.not_to raise_error
|
822
|
+
# end
|
823
|
+
end
|
824
|
+
end
|
825
|
+
|
826
|
+
describe 'test attribute "industry_suitability_affinity"' do
|
827
|
+
it 'should work' do
|
828
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
829
|
+
end
|
830
|
+
end
|
831
|
+
|
832
|
+
describe 'test attribute "created_by_version"' do
|
833
|
+
it 'should work' do
|
834
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
835
|
+
end
|
836
|
+
end
|
837
|
+
|
838
|
+
describe 'test attribute "tags"' do
|
839
|
+
it 'should work' do
|
840
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
841
|
+
end
|
842
|
+
end
|
843
|
+
|
844
|
+
describe 'test attribute "genres"' do
|
845
|
+
it 'should work' do
|
846
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
847
|
+
end
|
848
|
+
end
|
849
|
+
|
850
|
+
describe 'test attribute "parties"' do
|
851
|
+
it 'should work' do
|
852
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
853
|
+
end
|
854
|
+
end
|
855
|
+
|
856
|
+
describe 'test attribute "iswc"' do
|
857
|
+
it 'should work' do
|
858
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
859
|
+
end
|
860
|
+
end
|
861
|
+
|
862
|
+
describe 'test attribute "proprietary_id_gema"' do
|
863
|
+
it 'should work' do
|
864
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
describe 'test attribute "title"' do
|
869
|
+
it 'should work' do
|
870
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
871
|
+
end
|
872
|
+
end
|
873
|
+
|
874
|
+
describe 'test attribute "version_title"' do
|
875
|
+
it 'should work' do
|
876
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
880
|
+
end
|