|
5 | 5 | tests = { |
6 | 6 | 'with default valus' => {}, |
7 | 7 | 'with ensure => absent' => { |
8 | | - 'ensure' => 'absent', |
| 8 | + 'ensure' => 'absent' |
9 | 9 | }, |
10 | 10 | 'with version => 1.7.0' => { |
11 | | - 'version' => '1.7.0', |
| 11 | + 'version' => '1.7.0' |
12 | 12 | }, |
13 | 13 | 'when proxy is provided' => { |
14 | 14 | 'version' => '1.7.0', |
15 | | - 'proxy' => 'http://proxy.example.org:3128/', |
| 15 | + 'proxy' => 'http://proxy.example.org:3128/' |
16 | 16 | }, |
17 | 17 | 'when proxy is not a http proxy' => { |
18 | | - 'proxy' => 'this is not a URL', |
| 18 | + 'proxy' => 'this is not a URL' |
19 | 19 | }, |
20 | 20 | 'when proxy contains username and password' => { |
21 | 21 | 'version' => '1.7.0', |
22 | | - 'proxy' => 'http://user:password@proxy.example.org:3128/', |
| 22 | + 'proxy' => 'http://user:password@proxy.example.org:3128/' |
23 | 23 | }, |
24 | 24 | 'when proxy IP is provided' => { |
25 | 25 | 'version' => '1.7.0', |
26 | | - 'proxy' => 'http://10.10.10.10:3128/', |
| 26 | + 'proxy' => 'http://10.10.10.10:3128/' |
27 | 27 | }, |
28 | 28 | 'when base_url is provided' => { |
29 | 29 | 'version' => '1.7.0', |
30 | | - 'base_url' => 'http://example.org', |
| 30 | + 'base_url' => 'http://example.org' |
31 | 31 | }, |
32 | 32 | 'when raw_url is provided' => { |
33 | 33 | 'version' => '1.7.0', |
34 | | - 'raw_url' => 'http://example.org', |
35 | | - }, |
| 34 | + 'raw_url' => 'http://example.org' |
| 35 | + } |
36 | 36 | } |
37 | 37 |
|
38 | 38 | describe 'docker::compose', type: :class do |
|
62 | 62 | 'proxy' => :undef, |
63 | 63 | 'base_url' => defaults['compose_base_url'], |
64 | 64 | 'raw_url' => :undef, |
65 | | - 'curl_ensure' => defaults['curl_ensure'], |
| 65 | + 'curl_ensure' => defaults['curl_ensure'] |
66 | 66 | }.merge(local_params) |
67 | 67 |
|
68 | 68 | let(:facts) do |
|
0 commit comments