producer-core 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30fb89006ff65ccf133c3ba8169115217d1331f3
|
4
|
+
data.tar.gz: 5ca30ada198418333e91f5d7b5eabf7c13d95e9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494eedfa740e3628b1b7d145dd7bfbfa96fb3f055661d243f0069b36e0b53bdb19282f1c93284dcd5fd3244af5e686fbac9b82592b45d81541a1970793e3adae
|
7
|
+
data.tar.gz: 1639982191a5860d744055dabb87192e800ad93fc450cb392492d355a9be1781da3e41e43040ba279aa3a689f53323a8c59c3b3c6291897064c4fc888b822c5d
|
@@ -28,3 +28,31 @@ Feature: `` condition keyword
|
|
28
28
|
"""
|
29
29
|
When I successfully execute the recipe
|
30
30
|
Then the output must not contain "evaluated"
|
31
|
+
|
32
|
+
Scenario: `sh' alias, succeeds when remote executable is available
|
33
|
+
Given a recipe with:
|
34
|
+
"""
|
35
|
+
target 'some_host.test'
|
36
|
+
|
37
|
+
task :testing_remote_command do
|
38
|
+
condition { sh 'false' }
|
39
|
+
|
40
|
+
echo 'evaluated'
|
41
|
+
end
|
42
|
+
"""
|
43
|
+
When I successfully execute the recipe
|
44
|
+
Then the output must not contain "evaluated"
|
45
|
+
|
46
|
+
Scenario: succeeds when remote executable is available
|
47
|
+
Given a recipe with:
|
48
|
+
"""
|
49
|
+
target 'some_host.test'
|
50
|
+
|
51
|
+
task :testing_remote_command do
|
52
|
+
condition { sh 'false' }
|
53
|
+
|
54
|
+
echo 'evaluated'
|
55
|
+
end
|
56
|
+
"""
|
57
|
+
When I successfully execute the recipe
|
58
|
+
Then the output must not contain "evaluated"
|