File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 35
35
TEST_HOST , TEST_PORT = 'localhost' , '9200'
36
36
end
37
37
38
- raw_certificate = File . read ( File . join ( PROJECT_PATH , '/ .ci/certs/testnode.crt' ) )
38
+ raw_certificate = File . read ( File . join ( PROJECT_PATH , '.ci/certs/testnode.crt' ) )
39
39
certificate = OpenSSL ::X509 ::Certificate . new ( raw_certificate )
40
40
41
41
raw_key = File . read ( File . join ( PROJECT_PATH , '/.ci/certs/testnode.key' ) )
69
69
70
70
SINGLE_TEST = if ENV [ 'SINGLE_TEST' ] && !ENV [ 'SINGLE_TEST' ] . empty?
71
71
test_target = ENV [ 'SINGLE_TEST' ]
72
- path = File . expand_path ( File . dirname ( '..' ) , '..' )
72
+ path = File . expand_path ( File . dirname ( '..' ) )
73
73
74
74
if test_target . match? ( /\. yml$/ )
75
75
[ "#{ path } /../tmp/rest-api-spec/test/platinum/#{ test_target } " ]
76
76
else
77
77
Dir . glob (
78
- [ "#{ PROJECT_PATH } /../ tmp/rest-api-spec/test/platinum/#{ test_target } /*.yml" ]
78
+ [ "#{ PROJECT_PATH } /tmp/rest-api-spec/test/platinum/#{ test_target } /*.yml" ]
79
79
)
80
80
end
81
81
end
You can’t perform that action at this time.
0 commit comments