mautic_swagger_client 1.0.4 → 1.0.5
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/lib/swagger_client/configuration.rb +1 -1
- data/lib/swagger_client/version.rb +1 -1
- data/spec/configuration_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7142327735d393472d0f08a8d19985e04dcc6690
|
|
4
|
+
data.tar.gz: c76318dca88b464485b614038ed105fc94e945c1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6139753bb3fe9a73e4736a64ce09f6eaa1b1b5617a8b6357d5c124d895bf1b52bae8e79548facdc4592308cd9069d5e31eab907b17d056d20e12b76181302fbc
|
|
7
|
+
data.tar.gz: 8383994b116da4ba5daa4f08188b011f312e277f4754fd20f151cef2545866772b45c143fc64208d3a902d62a50a437bd68cfb7dc01da939d029e363cba1c712
|
data/spec/configuration_spec.rb
CHANGED
|
@@ -18,7 +18,7 @@ describe SwaggerClient::Configuration do
|
|
|
18
18
|
before(:each) do
|
|
19
19
|
# uncomment below to setup host and base_path
|
|
20
20
|
# require 'URI'
|
|
21
|
-
# uri = URI.parse("https://
|
|
21
|
+
# uri = URI.parse("https://atoc.detie.cn")
|
|
22
22
|
# SwaggerClient.configure do |c|
|
|
23
23
|
# c.host = uri.host
|
|
24
24
|
# c.base_path = uri.path
|
|
@@ -28,14 +28,14 @@ describe SwaggerClient::Configuration do
|
|
|
28
28
|
describe '#base_url' do
|
|
29
29
|
it 'should have the default value' do
|
|
30
30
|
# uncomment below to test default value of the base path
|
|
31
|
-
# expect(config.base_url).to eq("https://
|
|
31
|
+
# expect(config.base_url).to eq("https://atoc.detie.cn/")
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
it 'should remove trailing slashes' do
|
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
|
36
36
|
config.base_path = base_path
|
|
37
37
|
# uncomment below to test trailing slashes
|
|
38
|
-
# expect(config.base_url).to eq("https://
|
|
38
|
+
# expect(config.base_url).to eq("https://atoc.detie.cn/")
|
|
39
39
|
end
|
|
40
40
|
end
|
|
41
41
|
end
|