We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5d44b0 commit 2eada3fCopy full SHA for 2eada3f
spec/shared_examples/compose.rb
@@ -5,18 +5,20 @@
5
version = _params['version']
6
7
if _params['manage_package']
8
- ensure_value = if _params['version'] != :undef && _params['ensure'] != 'absent'
9
- _params['version']
10
- else
11
- _params['ensure']
12
- end
+ ensure_value =
+ if _params['version'] != :undef && _params['ensure'] != 'absent'
+ _params['version']
+ else
+ _params['ensure']
13
+ end
14
15
case _facts['os']['family']
16
when 'Debian', 'RedHat'
17
it {
- is_expected.to contain_package('docker-compose-plugin').with(
18
- ensure: ensure_value,
19
- )
20
- }
+ is_expected.to contain_package('docker-compose-plugin').with(
+ ensure: ensure_value,
+ )
21
+ }
22
23
end
24
0 commit comments