tl-api-client 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/testlink/client/version.rb +1 -1
- data/lib/testlink/client.rb +4 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '037202863907cb56e88b084dd6c9380a1ae8ee76'
|
4
|
+
data.tar.gz: 8d7838edd9dff34a648bd288bc89231071f3a230
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29741a3590198d3948b8cc91807a0b87509ac059efb5d70f656be17c52890940dd9c5389f0b6483c7b085f495a12ca8a5087eb6e5fd24768d4a2a7dae5831f39
|
7
|
+
data.tar.gz: ddbfaf003747fe3860615d0f40ceee2a758326f9fd1f0bcbf8132d8b8d7fc56ce305a9ec9a0c1dedac479762c05ac8a1811294eefb53327441f8a454cc3cf4e0
|
data/lib/testlink/client.rb
CHANGED
@@ -168,10 +168,10 @@ module Testlink
|
|
168
168
|
|
169
169
|
def get_test_case tcid = nil, tcexternalid = nil
|
170
170
|
|
171
|
-
if
|
172
|
-
input = { "testcaseexternalid" => tcexternalid }
|
173
|
-
else
|
171
|
+
if tcexternalid.nil?
|
174
172
|
input = { "testcaseid" => tcid }
|
173
|
+
else
|
174
|
+
input = { "testcaseexternalid" => tcexternalid }
|
175
175
|
end
|
176
176
|
get_result "tl.getTestCase", input
|
177
177
|
end
|
@@ -230,7 +230,7 @@ module Testlink
|
|
230
230
|
end
|
231
231
|
|
232
232
|
|
233
|
-
def
|
233
|
+
def add_test_case_keywords keywords
|
234
234
|
|
235
235
|
# keywords is a map key: testcaseexternalid, values: array of keyword name
|
236
236
|
input = { "keywords" => keywords }
|