zendesk_apps_tools 1.35.1 → 1.35.2
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: 35cc1aed2dc4672a92d4b2668727ebf8deca7b89
|
4
|
+
data.tar.gz: 96a2be40599ae9cfbd86c786c929bdf0c9edfa86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d033b5b7ae1bf7ed0ba68b0c4f12da4a4e307e5aa3e6ea7a254058c2e6b3f4fb20018f61c8fcea5347d50093f54741c7b4c9b8a81648f93a5ce1a2cd9a148c7
|
7
|
+
data.tar.gz: c207f8f3b3ef8be41fda1e85e49a519c075551c7f6337750337993b234b17b473ab7cccf6fec0bf109c3d4e2184396fd7df33f5a689bd72eab22a7fb231f9495
|
@@ -72,7 +72,7 @@ Then /^the fixture "(.*?)" is used for "(.*?)"$/ do |fixture, app_file|
|
|
72
72
|
end
|
73
73
|
|
74
74
|
Then /^the zip file should exist in directory "(.*?)"$/ do |path|
|
75
|
-
Dir[path + '/app-*.zip'].size.
|
75
|
+
expect(Dir[path + '/app-*.zip'].size).to eq 1
|
76
76
|
end
|
77
77
|
|
78
78
|
Given /^I remove file "(.*?)"$/ do |file|
|
@@ -84,20 +84,20 @@ Then /^the zip file in "(.*?)" folder should not exist$/ do |path|
|
|
84
84
|
end
|
85
85
|
|
86
86
|
Then /^it should pass the validation$/ do
|
87
|
-
@output.last.
|
88
|
-
$CHILD_STATUS.
|
87
|
+
expect(@output.last).to match /OK/
|
88
|
+
expect($CHILD_STATUS).to eq 0
|
89
89
|
end
|
90
90
|
|
91
91
|
Then /^the command output should contain "(.*?)"$/ do |output|
|
92
|
-
@output.join.
|
92
|
+
expect(@output.join).to match /#{output}/
|
93
93
|
end
|
94
94
|
|
95
95
|
Then /^"(.*?)" should be a symlink$/ do |path|
|
96
|
-
File.symlink?(path).
|
96
|
+
expect(File.symlink?(path)).to be_truthy
|
97
97
|
end
|
98
98
|
|
99
99
|
Then /^the zip file in "(.*?)" should not contain any symlinks$/ do |path|
|
100
100
|
Zip::File.foreach Dir[path + '/app-*.zip'][0] do |p|
|
101
|
-
p.symlink
|
101
|
+
expect(p.symlink?).to be_falsy
|
102
102
|
end
|
103
103
|
end
|