zest 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/zest/version.rb +1 -1
- data/spec/api/pulp_api_spec.rb +3 -3
- data/spec/api_client_spec.rb +29 -29
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_spec.rb +3 -3
- data/spec/models/async_operation_response_spec.rb +3 -3
- data/spec/models/distribution_spec.rb +3 -3
- data/spec/models/file_content_spec.rb +3 -3
- data/spec/models/file_publisher_spec.rb +3 -3
- data/spec/models/file_remote_spec.rb +3 -3
- data/spec/models/inline_response_200_10_spec.rb +3 -3
- data/spec/models/inline_response_200_1_spec.rb +3 -3
- data/spec/models/inline_response_200_2_spec.rb +3 -3
- data/spec/models/inline_response_200_3_spec.rb +3 -3
- data/spec/models/inline_response_200_4_spec.rb +3 -3
- data/spec/models/inline_response_200_5_spec.rb +3 -3
- data/spec/models/inline_response_200_6_spec.rb +3 -3
- data/spec/models/inline_response_200_7_spec.rb +3 -3
- data/spec/models/inline_response_200_8_spec.rb +3 -3
- data/spec/models/inline_response_200_9_spec.rb +3 -3
- data/spec/models/inline_response_200_spec.rb +3 -3
- data/spec/models/progress_report_spec.rb +3 -3
- data/spec/models/publication_spec.rb +3 -3
- data/spec/models/repository_publish_url_spec.rb +3 -3
- data/spec/models/repository_spec.rb +3 -3
- data/spec/models/repository_sync_url_spec.rb +3 -3
- data/spec/models/repository_version_create_spec.rb +3 -3
- data/spec/models/repository_version_spec.rb +3 -3
- data/spec/models/task_spec.rb +3 -3
- data/spec/models/user_spec.rb +3 -3
- data/spec/models/worker_spec.rb +3 -3
- data/spec/spec_helper.rb +1 -1
- data/zest.gemspec +3 -4
- metadata +6 -44
- data/api.json +0 -1
- data/config.json +0 -6
- data/katello_pulp_api-0.0.1.gem +0 -0
- data/katello_pulp_api.gemspec +0 -46
- data/lib/katello_pulp_api.rb +0 -67
- data/lib/katello_pulp_api/api/pulp_api.rb +0 -3277
- data/lib/katello_pulp_api/api_client.rb +0 -389
- data/lib/katello_pulp_api/api_error.rb +0 -38
- data/lib/katello_pulp_api/configuration.rb +0 -209
- data/lib/katello_pulp_api/models/artifact.rb +0 -278
- data/lib/katello_pulp_api/models/async_operation_response.rb +0 -194
- data/lib/katello_pulp_api/models/distribution.rb +0 -350
- data/lib/katello_pulp_api/models/file_content.rb +0 -272
- data/lib/katello_pulp_api/models/file_publisher.rb +0 -306
- data/lib/katello_pulp_api/models/file_remote.rb +0 -452
- data/lib/katello_pulp_api/models/inline_response_200.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_1.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_10.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_2.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_3.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_4.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_5.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_6.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_7.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_8.rb +0 -227
- data/lib/katello_pulp_api/models/inline_response_200_9.rb +0 -227
- data/lib/katello_pulp_api/models/progress_report.rb +0 -271
- data/lib/katello_pulp_api/models/publication.rb +0 -249
- data/lib/katello_pulp_api/models/repository.rb +0 -260
- data/lib/katello_pulp_api/models/repository_publish_url.rb +0 -199
- data/lib/katello_pulp_api/models/repository_sync_url.rb +0 -206
- data/lib/katello_pulp_api/models/repository_version.rb +0 -277
- data/lib/katello_pulp_api/models/repository_version_create.rb +0 -223
- data/lib/katello_pulp_api/models/task.rb +0 -363
- data/lib/katello_pulp_api/models/user.rb +0 -284
- data/lib/katello_pulp_api/models/worker.rb +0 -254
- data/lib/katello_pulp_api/version.rb +0 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e915d6ad2d4ff8f5d50d76acffcb8660713c8c00
|
4
|
+
data.tar.gz: fc49242da7a5237890635f026d2be676d0065e1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1049f0529254eafba0511c54b5320aeccce063b334845f9944cf3e372db14d5af58bfef505709a537283ece61b1e2314d22af3391baaa54b6f2eb2c725a49a71
|
7
|
+
data.tar.gz: 74888e523f20005f1063a1012e757864286840e14b0fd2f712ddad1aedbdc03a0732b695be691940e60d9c17a58a98fb54e2b29ce0c085c684ae5a3395d99876
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: v3
|
10
|
-
- Package version: 0.0.
|
10
|
+
- Package version: 0.0.2
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
|
13
13
|
## Installation
|
@@ -23,15 +23,15 @@ gem build zest.gemspec
|
|
23
23
|
Then either install the gem locally:
|
24
24
|
|
25
25
|
```shell
|
26
|
-
gem install ./zest-0.0.
|
26
|
+
gem install ./zest-0.0.2.gem
|
27
27
|
```
|
28
|
-
(for development, run `gem install --dev ./zest-0.0.
|
28
|
+
(for development, run `gem install --dev ./zest-0.0.2.gem` to install the development dependencies)
|
29
29
|
|
30
30
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
31
31
|
|
32
32
|
Finally add this to the Gemfile:
|
33
33
|
|
34
|
-
gem 'zest', '~> 0.0.
|
34
|
+
gem 'zest', '~> 0.0.2'
|
35
35
|
|
36
36
|
### Install from Git
|
37
37
|
|
data/lib/zest/version.rb
CHANGED
data/spec/api/pulp_api_spec.rb
CHANGED
@@ -13,13 +13,13 @@ Swagger Codegen version: 2.3.1
|
|
13
13
|
require 'spec_helper'
|
14
14
|
require 'json'
|
15
15
|
|
16
|
-
# Unit tests for
|
16
|
+
# Unit tests for Zest::PulpApi
|
17
17
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
18
|
# Please update as you see appropriate
|
19
19
|
describe 'PulpApi' do
|
20
20
|
before do
|
21
21
|
# run before each test
|
22
|
-
@instance =
|
22
|
+
@instance = Zest::PulpApi.new
|
23
23
|
end
|
24
24
|
|
25
25
|
after do
|
@@ -28,7 +28,7 @@ describe 'PulpApi' do
|
|
28
28
|
|
29
29
|
describe 'test an instance of PulpApi' do
|
30
30
|
it 'should create an instance of PulpApi' do
|
31
|
-
expect(@instance).to be_instance_of(
|
31
|
+
expect(@instance).to be_instance_of(Zest::PulpApi)
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
data/spec/api_client_spec.rb
CHANGED
@@ -12,51 +12,51 @@ Swagger Codegen version: 2.3.1
|
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
|
15
|
-
describe
|
15
|
+
describe Zest::ApiClient do
|
16
16
|
context 'initialization' do
|
17
17
|
context 'URL stuff' do
|
18
18
|
context 'host' do
|
19
19
|
it 'removes http from host' do
|
20
|
-
|
21
|
-
expect(
|
20
|
+
Zest.configure { |c| c.host = 'http://example.com' }
|
21
|
+
expect(Zest::Configuration.default.host).to eq('example.com')
|
22
22
|
end
|
23
23
|
|
24
24
|
it 'removes https from host' do
|
25
|
-
|
26
|
-
expect(
|
25
|
+
Zest.configure { |c| c.host = 'https://wookiee.com' }
|
26
|
+
expect(Zest::ApiClient.default.config.host).to eq('wookiee.com')
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'removes trailing path from host' do
|
30
|
-
|
31
|
-
expect(
|
30
|
+
Zest.configure { |c| c.host = 'hobo.com/v4' }
|
31
|
+
expect(Zest::Configuration.default.host).to eq('hobo.com')
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
35
|
context 'base_path' do
|
36
36
|
it "prepends a slash to base_path" do
|
37
|
-
|
38
|
-
expect(
|
37
|
+
Zest.configure { |c| c.base_path = 'v4/dog' }
|
38
|
+
expect(Zest::Configuration.default.base_path).to eq('/v4/dog')
|
39
39
|
end
|
40
40
|
|
41
41
|
it "doesn't prepend a slash if one is already there" do
|
42
|
-
|
43
|
-
expect(
|
42
|
+
Zest.configure { |c| c.base_path = '/v4/dog' }
|
43
|
+
expect(Zest::Configuration.default.base_path).to eq('/v4/dog')
|
44
44
|
end
|
45
45
|
|
46
46
|
it "ends up as a blank string if nil" do
|
47
|
-
|
48
|
-
expect(
|
47
|
+
Zest.configure { |c| c.base_path = nil }
|
48
|
+
expect(Zest::Configuration.default.base_path).to eq('')
|
49
49
|
end
|
50
50
|
end
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
54
54
|
describe "params_encoding in #build_request" do
|
55
|
-
let(:config) {
|
56
|
-
let(:api_client) {
|
55
|
+
let(:config) { Zest::Configuration.new }
|
56
|
+
let(:api_client) { Zest::ApiClient.new(config) }
|
57
57
|
|
58
58
|
it "defaults to nil" do
|
59
|
-
expect(
|
59
|
+
expect(Zest::Configuration.default.params_encoding).to eq(nil)
|
60
60
|
expect(config.params_encoding).to eq(nil)
|
61
61
|
|
62
62
|
request = api_client.build_request(:get, '/test')
|
@@ -71,11 +71,11 @@ describe KatelloPulpApi::ApiClient do
|
|
71
71
|
end
|
72
72
|
|
73
73
|
describe "timeout in #build_request" do
|
74
|
-
let(:config) {
|
75
|
-
let(:api_client) {
|
74
|
+
let(:config) { Zest::Configuration.new }
|
75
|
+
let(:api_client) { Zest::ApiClient.new(config) }
|
76
76
|
|
77
77
|
it "defaults to 0" do
|
78
|
-
expect(
|
78
|
+
expect(Zest::Configuration.default.timeout).to eq(0)
|
79
79
|
expect(config.timeout).to eq(0)
|
80
80
|
|
81
81
|
request = api_client.build_request(:get, '/test')
|
@@ -91,7 +91,7 @@ describe KatelloPulpApi::ApiClient do
|
|
91
91
|
|
92
92
|
describe "#deserialize" do
|
93
93
|
it "handles Array<Integer>" do
|
94
|
-
api_client =
|
94
|
+
api_client = Zest::ApiClient.new
|
95
95
|
headers = {'Content-Type' => 'application/json'}
|
96
96
|
response = double('response', headers: headers, body: '[12, 34]')
|
97
97
|
data = api_client.deserialize(response, 'Array<Integer>')
|
@@ -100,7 +100,7 @@ describe KatelloPulpApi::ApiClient do
|
|
100
100
|
end
|
101
101
|
|
102
102
|
it "handles Array<Array<Integer>>" do
|
103
|
-
api_client =
|
103
|
+
api_client = Zest::ApiClient.new
|
104
104
|
headers = {'Content-Type' => 'application/json'}
|
105
105
|
response = double('response', headers: headers, body: '[[12, 34], [56]]')
|
106
106
|
data = api_client.deserialize(response, 'Array<Array<Integer>>')
|
@@ -109,7 +109,7 @@ describe KatelloPulpApi::ApiClient do
|
|
109
109
|
end
|
110
110
|
|
111
111
|
it "handles Hash<String, String>" do
|
112
|
-
api_client =
|
112
|
+
api_client = Zest::ApiClient.new
|
113
113
|
headers = {'Content-Type' => 'application/json'}
|
114
114
|
response = double('response', headers: headers, body: '{"message": "Hello"}')
|
115
115
|
data = api_client.deserialize(response, 'Hash<String, String>')
|
@@ -121,8 +121,8 @@ describe KatelloPulpApi::ApiClient do
|
|
121
121
|
describe "#object_to_hash" do
|
122
122
|
it "ignores nils and includes empty arrays" do
|
123
123
|
# uncomment below to test object_to_hash for model
|
124
|
-
#api_client =
|
125
|
-
#_model =
|
124
|
+
#api_client = Zest::ApiClient.new
|
125
|
+
#_model = Zest::ModelName.new
|
126
126
|
# update the model attribute below
|
127
127
|
#_model.id = 1
|
128
128
|
# update the expected value (hash) below
|
@@ -133,7 +133,7 @@ describe KatelloPulpApi::ApiClient do
|
|
133
133
|
|
134
134
|
describe "#build_collection_param" do
|
135
135
|
let(:param) { ['aa', 'bb', 'cc'] }
|
136
|
-
let(:api_client) {
|
136
|
+
let(:api_client) { Zest::ApiClient.new }
|
137
137
|
|
138
138
|
it "works for csv" do
|
139
139
|
expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
|
@@ -161,7 +161,7 @@ describe KatelloPulpApi::ApiClient do
|
|
161
161
|
end
|
162
162
|
|
163
163
|
describe "#json_mime?" do
|
164
|
-
let(:api_client) {
|
164
|
+
let(:api_client) { Zest::ApiClient.new }
|
165
165
|
|
166
166
|
it "works" do
|
167
167
|
expect(api_client.json_mime?(nil)).to eq false
|
@@ -178,7 +178,7 @@ describe KatelloPulpApi::ApiClient do
|
|
178
178
|
end
|
179
179
|
|
180
180
|
describe "#select_header_accept" do
|
181
|
-
let(:api_client) {
|
181
|
+
let(:api_client) { Zest::ApiClient.new }
|
182
182
|
|
183
183
|
it "works" do
|
184
184
|
expect(api_client.select_header_accept(nil)).to be_nil
|
@@ -194,7 +194,7 @@ describe KatelloPulpApi::ApiClient do
|
|
194
194
|
end
|
195
195
|
|
196
196
|
describe "#select_header_content_type" do
|
197
|
-
let(:api_client) {
|
197
|
+
let(:api_client) { Zest::ApiClient.new }
|
198
198
|
|
199
199
|
it "works" do
|
200
200
|
expect(api_client.select_header_content_type(nil)).to eq('application/json')
|
@@ -209,7 +209,7 @@ describe KatelloPulpApi::ApiClient do
|
|
209
209
|
end
|
210
210
|
|
211
211
|
describe "#sanitize_filename" do
|
212
|
-
let(:api_client) {
|
212
|
+
let(:api_client) { Zest::ApiClient.new }
|
213
213
|
|
214
214
|
it "works" do
|
215
215
|
expect(api_client.sanitize_filename('sun')).to eq('sun')
|
data/spec/configuration_spec.rb
CHANGED
@@ -12,14 +12,14 @@ Swagger Codegen version: 2.3.1
|
|
12
12
|
|
13
13
|
require 'spec_helper'
|
14
14
|
|
15
|
-
describe
|
16
|
-
let(:config) {
|
15
|
+
describe Zest::Configuration do
|
16
|
+
let(:config) { Zest::Configuration.default }
|
17
17
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
#require 'URI'
|
21
21
|
#uri = URI.parse("http://katello-gem-builder")
|
22
|
-
#
|
22
|
+
#Zest.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
25
25
|
#end
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::Artifact
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'Artifact' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::Artifact.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'Artifact' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of Artifact' do
|
31
31
|
it 'should create an instance of Artifact' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::Artifact)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_href"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::AsyncOperationResponse
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'AsyncOperationResponse' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::AsyncOperationResponse.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'AsyncOperationResponse' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of AsyncOperationResponse' do
|
31
31
|
it 'should create an instance of AsyncOperationResponse' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::AsyncOperationResponse)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "task"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::Distribution
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'Distribution' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::Distribution.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'Distribution' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of Distribution' do
|
31
31
|
it 'should create an instance of Distribution' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::Distribution)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_href"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::FileContent
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'FileContent' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::FileContent.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'FileContent' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of FileContent' do
|
31
31
|
it 'should create an instance of FileContent' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::FileContent)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_href"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::FilePublisher
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'FilePublisher' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::FilePublisher.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'FilePublisher' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of FilePublisher' do
|
31
31
|
it 'should create an instance of FilePublisher' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::FilePublisher)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_href"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::FileRemote
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'FileRemote' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::FileRemote.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'FileRemote' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of FileRemote' do
|
31
31
|
it 'should create an instance of FileRemote' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::FileRemote)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "_href"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::InlineResponse20010
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse20010' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::InlineResponse20010.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse20010' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse20010' do
|
31
31
|
it 'should create an instance of InlineResponse20010' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::InlineResponse20010)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "count"' do
|
@@ -14,13 +14,13 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for
|
17
|
+
# Unit tests for Zest::InlineResponse2001
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
20
|
describe 'InlineResponse2001' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance =
|
23
|
+
@instance = Zest::InlineResponse2001.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
@@ -29,7 +29,7 @@ describe 'InlineResponse2001' do
|
|
29
29
|
|
30
30
|
describe 'test an instance of InlineResponse2001' do
|
31
31
|
it 'should create an instance of InlineResponse2001' do
|
32
|
-
expect(@instance).to be_instance_of(
|
32
|
+
expect(@instance).to be_instance_of(Zest::InlineResponse2001)
|
33
33
|
end
|
34
34
|
end
|
35
35
|
describe 'test attribute "count"' do
|