testrail-ruby 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/endpoints.rb +49 -48
- data/lib/version.rb +1 -1
- 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: 73604be9b08750976e02647c4c31a352a50ddf6c
|
4
|
+
data.tar.gz: d9dbc6321ee26916add32ab3a72c9dc93ae68c70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9159ae9dbe09e306326a7187a7edf2c7372bfb4732d1f940a9c1e24b7cf93bf39b2958f251a2362c1bb1d341e9be3da1c5f0617c8c74fe46dd65f819d9fd8611
|
7
|
+
data.tar.gz: d1ffe804af29cf3e8a3108939474bcee27ce994a374f988926069b5e3a350c9de51a1f36bf218202f73b75f0654347934da5f3a3095505cce5718e126228ed3c
|
data/lib/endpoints.rb
CHANGED
@@ -5,7 +5,7 @@ module Endpoints
|
|
5
5
|
# @example GET index.php?/api/v2/get_case/:case_id
|
6
6
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
7
7
|
def get_case(case_id, opts = {})
|
8
|
-
send_get("get_case
|
8
|
+
send_get("get_case/:#{case_id.to_s}", opts)
|
9
9
|
end
|
10
10
|
|
11
11
|
# Returns a list of test cases for a test suite or specific section in a test suite.
|
@@ -14,7 +14,7 @@ module Endpoints
|
|
14
14
|
# @example GET index.php?/api/v2/get_cases/:project_id
|
15
15
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
16
16
|
def get_cases(project_id, opts = {})
|
17
|
-
send_get("get_cases
|
17
|
+
send_get("get_cases/:#{project_id.to_s}", opts)
|
18
18
|
end
|
19
19
|
|
20
20
|
# Return all test cases in a given project by suite_id and section_id
|
@@ -25,7 +25,7 @@ module Endpoints
|
|
25
25
|
# @example GET index.php?/api/v2/get_cases/:project_id&suite_id=:suite_id§ion_id=:section_id
|
26
26
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
27
27
|
def get_cases_by_section(project_id, suite_id, section_id, opts = {})
|
28
|
-
send_get("get_cases
|
28
|
+
send_get("get_cases/:#{project_id.to_s}&suite_id=:#{suite_id.to_s}§ion_id=:#{section_id.to_s}", opts)
|
29
29
|
end
|
30
30
|
|
31
31
|
# Return all test cases in a given project by suite_id
|
@@ -35,7 +35,7 @@ module Endpoints
|
|
35
35
|
# @example GET index.php?/api/v2/get_cases/:project_id&suite_id=:suite_id
|
36
36
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
37
37
|
def get_cases_by_suite(project_id, suite_id, opts = {})
|
38
|
-
send_get("get_cases
|
38
|
+
send_get("get_cases/:#{project_id.to_s}&suite_id=:#{suite_id.to_s}", opts)
|
39
39
|
end
|
40
40
|
|
41
41
|
# Creates a new test case
|
@@ -44,7 +44,7 @@ module Endpoints
|
|
44
44
|
# @example POST index.php?/api/v2/add_case/:section_id
|
45
45
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
46
46
|
def add_case(section_id, opts = {})
|
47
|
-
send_post("add_case
|
47
|
+
send_post("add_case/:#{section_id.to_s}", opts)
|
48
48
|
end
|
49
49
|
|
50
50
|
# Update test result by case id
|
@@ -53,7 +53,7 @@ module Endpoints
|
|
53
53
|
# @example POST index.php?/api/v2/update_case/:case_id
|
54
54
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
55
55
|
def update_case(case_id, opts = {})
|
56
|
-
send_post("update_case
|
56
|
+
send_post("update_case/:#{case_id.to_s}", opts)
|
57
57
|
end
|
58
58
|
|
59
59
|
# Delete test case by case id
|
@@ -62,7 +62,7 @@ module Endpoints
|
|
62
62
|
# @example POST index.php?/api/v2/delete_case/:case_id
|
63
63
|
# @see http://docs.gurock.com/testrail-api2/reference-cases
|
64
64
|
def delete_case(case_id, opts = {})
|
65
|
-
send_post("delete_case
|
65
|
+
send_post("delete_case/:#{case_id.to_s}", opts)
|
66
66
|
end
|
67
67
|
|
68
68
|
# Return suite by suite id
|
@@ -71,7 +71,7 @@ module Endpoints
|
|
71
71
|
# @example GET index.php?/api/v2/get_suite/:suite_id
|
72
72
|
# @see http://docs.gurock.com/testrail-api2/reference-suites
|
73
73
|
def get_suite(suite_id, opts = {})
|
74
|
-
send_get("get_suite
|
74
|
+
send_get("get_suite/:#{suite_id.to_s}", opts)
|
75
75
|
end
|
76
76
|
|
77
77
|
# Return all suites in project by project id
|
@@ -80,7 +80,7 @@ module Endpoints
|
|
80
80
|
# @example GET index.php?/api/v2/get_suites/:project_id
|
81
81
|
# @see http://docs.gurock.com/testrail-api2/reference-suites
|
82
82
|
def get_suites(project_id, opts = {})
|
83
|
-
send_get("get_suites
|
83
|
+
send_get("get_suites/:#{project_id.to_s}", opts)
|
84
84
|
end
|
85
85
|
|
86
86
|
# Add a test suite
|
@@ -89,7 +89,7 @@ module Endpoints
|
|
89
89
|
# @example POST index.php?/api/v2/add_suite/:project_id
|
90
90
|
# @see http://docs.gurock.com/testrail-api2/reference-suites
|
91
91
|
def add_suite(project_id, opts = {})
|
92
|
-
send_post("add_suite
|
92
|
+
send_post("add_suite/:#{project_id.to_s}", opts)
|
93
93
|
end
|
94
94
|
|
95
95
|
# update a test suite
|
@@ -98,7 +98,7 @@ module Endpoints
|
|
98
98
|
# @example POST index.php?/api/v2/update_suite/:suite_id
|
99
99
|
# @see http://docs.gurock.com/testrail-api2/reference-suites
|
100
100
|
def update_suite(suite_id, opts = {})
|
101
|
-
send_post("update_suite
|
101
|
+
send_post("update_suite/:#{suite_id.to_s}", opts)
|
102
102
|
end
|
103
103
|
|
104
104
|
# Delete a test suite
|
@@ -107,7 +107,7 @@ module Endpoints
|
|
107
107
|
# @example POST index.php?/api/v2/delete_suite/:suite_id
|
108
108
|
# @see http://docs.gurock.com/testrail-api2/reference-suites
|
109
109
|
def delete_suite(suite_id, opts = {})
|
110
|
-
send_post("delete_suite
|
110
|
+
send_post("delete_suite/:#{suite_id.to_s}", opts)
|
111
111
|
end
|
112
112
|
|
113
113
|
# Return section by id
|
@@ -116,7 +116,7 @@ module Endpoints
|
|
116
116
|
# @example GET index.php?/api/v2/get_section/:section_id
|
117
117
|
# @see http://docs.gurock.com/testrail-api2/reference-sections
|
118
118
|
def get_section(section_id, opts = {})
|
119
|
-
send_get("get_section
|
119
|
+
send_get("get_section/:#{section_id.to_s}", opts)
|
120
120
|
end
|
121
121
|
|
122
122
|
# Get sections for suite
|
@@ -125,7 +125,7 @@ module Endpoints
|
|
125
125
|
# @example GET index.php?/api/v2/get_sections/:project_id&suite_id=:suite_id
|
126
126
|
# @see http://docs.gurock.com/testrail-api2/reference-sections
|
127
127
|
def get_sections(project_id, suite_id, opts = {})
|
128
|
-
send_get("get_sections
|
128
|
+
send_get("get_sections/:#{project_id.to_s}&suite_id=:#{suite_id.to_s}", opts)
|
129
129
|
end
|
130
130
|
|
131
131
|
# Add section to suite
|
@@ -133,8 +133,9 @@ module Endpoints
|
|
133
133
|
# @param opts [hash]
|
134
134
|
# @example POST index.php?/api/v2/add_section/:project_id
|
135
135
|
# @see http://docs.gurock.com/testrail-api2/reference-sections
|
136
|
-
|
137
|
-
|
136
|
+
# @note suite_id is required unless running in single suite mode
|
137
|
+
def add_section(project_id, suite_id, opts = {})
|
138
|
+
send_post("add_section/:#{project_id.to_s}&suite_id=:#{suite_id.to_s}", opts)
|
138
139
|
end
|
139
140
|
|
140
141
|
# Get milestone by milestone id
|
@@ -143,7 +144,7 @@ module Endpoints
|
|
143
144
|
# @example GET index.php?/api/v2/get_milestone/:milestone_id
|
144
145
|
# @see http://docs.gurock.com/testrail-api2/reference-milestones
|
145
146
|
def get_milestone(milestone_id, opts = {})
|
146
|
-
send_get("get_milestone
|
147
|
+
send_get("get_milestone/:#{milestone_id.to_s}", opts)
|
147
148
|
end
|
148
149
|
|
149
150
|
# Get project milestones by project id
|
@@ -152,7 +153,7 @@ module Endpoints
|
|
152
153
|
# @example GET index.php?/api/v2/get_milestones/:project_id
|
153
154
|
# @see http://docs.gurock.com/testrail-api2/reference-milestones
|
154
155
|
def get_milestones(project_id, opts = {})
|
155
|
-
send_get("get_milestones
|
156
|
+
send_get("get_milestones/:#{project_id.to_s}", opts)
|
156
157
|
end
|
157
158
|
|
158
159
|
# Add milestone to project id
|
@@ -161,7 +162,7 @@ module Endpoints
|
|
161
162
|
# @example POST index.php?/api/v2/add_milestone/:project_id
|
162
163
|
# @see http://docs.gurock.com/testrail-api2/reference-milestones
|
163
164
|
def add_milestone(project_id, opts = {})
|
164
|
-
send_post("add_milestone
|
165
|
+
send_post("add_milestone/:#{project_id.to_s}", opts)
|
165
166
|
end
|
166
167
|
|
167
168
|
# Add milestone to project id
|
@@ -170,7 +171,7 @@ module Endpoints
|
|
170
171
|
# @example POST index.php?/api/v2/update_milestone/:milestone_id
|
171
172
|
# @see http://docs.gurock.com/testrail-api2/reference-milestones
|
172
173
|
def update_milestone(milestone_id, opts = {})
|
173
|
-
send_post("update_milestone
|
174
|
+
send_post("update_milestone/:#{milestone_id.to_s}", opts)
|
174
175
|
end
|
175
176
|
|
176
177
|
# Add milestone to project id
|
@@ -179,7 +180,7 @@ module Endpoints
|
|
179
180
|
# @example POST index.php?/api/v2/delete_milestone/:milestone_id
|
180
181
|
# @see http://docs.gurock.com/testrail-api2/reference-milestones
|
181
182
|
def delete_milestone(milestone_id, opts = {})
|
182
|
-
send_post("delete_milestone
|
183
|
+
send_post("delete_milestone/:#{milestone_id.to_s}", opts)
|
183
184
|
end
|
184
185
|
|
185
186
|
# Get plan by id
|
@@ -188,7 +189,7 @@ module Endpoints
|
|
188
189
|
# @example GET index.php?/api/v2/get_plan/:plan_id
|
189
190
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
190
191
|
def get_plan(plan_id, opts = {})
|
191
|
-
send_get("get_plan
|
192
|
+
send_get("get_plan/:#{plan_id.to_s}", opts)
|
192
193
|
end
|
193
194
|
|
194
195
|
# Get plans in project by project id
|
@@ -197,7 +198,7 @@ module Endpoints
|
|
197
198
|
# @example GET index.php?/api/v2/get_plans/:project_id
|
198
199
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
199
200
|
def get_plans(project_id, opts = {})
|
200
|
-
send_get("get_plans
|
201
|
+
send_get("get_plans/:#{project_id.to_s}", opts)
|
201
202
|
end
|
202
203
|
|
203
204
|
# Add plan to project by project id
|
@@ -206,7 +207,7 @@ module Endpoints
|
|
206
207
|
# @example POST index.php?/api/v2/add_plan/:project_id
|
207
208
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
208
209
|
def add_plan(project_id, opts = {})
|
209
|
-
send_post("add_plan
|
210
|
+
send_post("add_plan/:#{project_id.to_s}", opts)
|
210
211
|
end
|
211
212
|
|
212
213
|
# Add plan entries by plan id
|
@@ -215,7 +216,7 @@ module Endpoints
|
|
215
216
|
# @example POST index.php?/api/v2/add_plan_entry/:plan_id
|
216
217
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
217
218
|
def add_plan_entry(plan_id, opts = {})
|
218
|
-
send_post("add_plan_entry
|
219
|
+
send_post("add_plan_entry/:#{plan_id.to_s}", opts)
|
219
220
|
end
|
220
221
|
|
221
222
|
# Update plan by plan id
|
@@ -224,7 +225,7 @@ module Endpoints
|
|
224
225
|
# @example POST index.php?/api/v2/update_plan/:plan_id
|
225
226
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
226
227
|
def update_plan(plan_id, opts = {})
|
227
|
-
send_post("update_plan
|
228
|
+
send_post("update_plan/:#{plan_id.to_s}", opts)
|
228
229
|
end
|
229
230
|
|
230
231
|
# Update plan entry by plan id
|
@@ -234,7 +235,7 @@ module Endpoints
|
|
234
235
|
# @example POST index.php?/api/v2/update_plan_entry/:plan_id/:entry_id
|
235
236
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
236
237
|
def update_plan_entry(plan_id, entry_id, opts = {})
|
237
|
-
send_post("update_plan_entry
|
238
|
+
send_post("update_plan_entry/:#{plan_id.to_s}/:#{entry_id.to_s}", opts)
|
238
239
|
end
|
239
240
|
|
240
241
|
# Close plan by plan id
|
@@ -243,18 +244,18 @@ module Endpoints
|
|
243
244
|
# @example POST index.php?/api/v2/close_plan/:plan_id
|
244
245
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
245
246
|
def close_plan(plan_id, opts = {})
|
246
|
-
send_post("close_plan
|
247
|
+
send_post("close_plan/:#{plan_id.to_s}", opts)
|
247
248
|
end
|
248
249
|
|
249
250
|
# @example POST index.php?/api/v2/delete_plan/:plan_id
|
250
251
|
# @see http://docs.gurock.com/testrail-api2/reference-plans
|
251
252
|
def delete_plan(plan_id, opts)
|
252
|
-
send_post("delete_plan
|
253
|
+
send_post("delete_plan/:#{plan_id.to_s}", opts)
|
253
254
|
end
|
254
255
|
|
255
256
|
# @example POST index.php?/api/v2/delete_plan_entry/:plan_id/:entry_id
|
256
257
|
def delete_plan_entry(plan_id, entry_id, opts = {})
|
257
|
-
send_post("delete_plan_entry
|
258
|
+
send_post("delete_plan_entry/:#{plan_id.to_s}/:#{entry_id.to_s}", opts)
|
258
259
|
end
|
259
260
|
|
260
261
|
# Get project by project id
|
@@ -263,7 +264,7 @@ module Endpoints
|
|
263
264
|
# @example GET index.php?/api/v2/get_project/:project_id
|
264
265
|
# @see http://docs.gurock.com/testrail-api2/reference-projects
|
265
266
|
def get_project(project_id, opts = {})
|
266
|
-
send_get("get_project
|
267
|
+
send_get("get_project/:#{project_id.to_s}", opts)
|
267
268
|
end
|
268
269
|
|
269
270
|
# Get all projects
|
@@ -288,7 +289,7 @@ module Endpoints
|
|
288
289
|
# @example POST index.php?/api/v2/update_project/:project_id
|
289
290
|
# @see http://docs.gurock.com/testrail-api2/reference-projects
|
290
291
|
def update_project(project_id, opts)
|
291
|
-
send_post("update_project
|
292
|
+
send_post("update_project/:#{project_id.to_s}", opts)
|
292
293
|
end
|
293
294
|
|
294
295
|
|
@@ -298,7 +299,7 @@ module Endpoints
|
|
298
299
|
# @example POST index.php?/api/v2/delete_project/:project_id
|
299
300
|
# @see http://docs.gurock.com/testrail-api2/reference-projects
|
300
301
|
def delete_project(project_id, opts)
|
301
|
-
send_post("delete_project
|
302
|
+
send_post("delete_project/:#{project_id.to_s}", opts)
|
302
303
|
end
|
303
304
|
|
304
305
|
# Returns a list of test results for a test
|
@@ -307,7 +308,7 @@ module Endpoints
|
|
307
308
|
# @example GET index.php?/api/v2/get_results/:test_id
|
308
309
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
309
310
|
def get_results(test_id, opts = {})
|
310
|
-
send_get("get_results
|
311
|
+
send_get("get_results/:#{test_id.to_s}", opts)
|
311
312
|
end
|
312
313
|
|
313
314
|
# Returns a list of test results for a test run and case combination
|
@@ -317,7 +318,7 @@ module Endpoints
|
|
317
318
|
# @example GET index.php?/api/v2/get_results_for_case/:run_id/:case_id
|
318
319
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
319
320
|
def get_results_for_case(run_id, case_id, opts = {})
|
320
|
-
send_get("get_results_for_case
|
321
|
+
send_get("get_results_for_case/:#{run_id.to_s}/:#{case_id.to_s}", opts)
|
321
322
|
end
|
322
323
|
|
323
324
|
# Returns a list of test results for a test run
|
@@ -326,7 +327,7 @@ module Endpoints
|
|
326
327
|
# @example GET index.php?/api/v2/get_results_for_run/:run_id
|
327
328
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
328
329
|
def get_results_for_run(run_id, opts = {})
|
329
|
-
send_get("get_results_for_run
|
330
|
+
send_get("get_results_for_run/:#{run_id.to_s}", opts)
|
330
331
|
end
|
331
332
|
|
332
333
|
# Adds a new test result, comment or assigns a test. It's recommended to use add_results instead if you plan to add results for multiple tests.
|
@@ -335,7 +336,7 @@ module Endpoints
|
|
335
336
|
# @example POST index.php?/api/v2/add_result/:test_id
|
336
337
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
337
338
|
def add_result(test_id, opts = {})
|
338
|
-
send_post("add_result
|
339
|
+
send_post("add_result/:#{test_id.to_s}", opts)
|
339
340
|
end
|
340
341
|
|
341
342
|
# Adds a new test result, comment or assigns a test (for a test run and case combination)
|
@@ -345,7 +346,7 @@ module Endpoints
|
|
345
346
|
# @example POST index.php?/api/v2/add_result_for_case/:run_id/:case_id
|
346
347
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
347
348
|
def add_result_for_case(run_id, case_id, opts = {})
|
348
|
-
send_post("add_result_for_case
|
349
|
+
send_post("add_result_for_case/:#{run_id.to_s}/:#{case_id.to_s}", opts)
|
349
350
|
end
|
350
351
|
|
351
352
|
# Adds one or more new test results, comments or assigns one or more tests
|
@@ -354,7 +355,7 @@ module Endpoints
|
|
354
355
|
# @example POST index.php?/api/v2/add_results/:run_id
|
355
356
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
356
357
|
def add_results(run_id, opts = {})
|
357
|
-
send_post("add_results
|
358
|
+
send_post("add_results/:#{run_id.to_s}", opts)
|
358
359
|
end
|
359
360
|
|
360
361
|
# Adds one or more new test results, comments or assigns one or more tests (using the case IDs)
|
@@ -363,7 +364,7 @@ module Endpoints
|
|
363
364
|
# @example POST index.php?/api/v2/add_results_for_cases/:run_id
|
364
365
|
# @see http://docs.gurock.com/testrail-api2/reference-results
|
365
366
|
def add_results_for_cases(run_id, opts = {})
|
366
|
-
send_post("add_results_for_cases
|
367
|
+
send_post("add_results_for_cases/:#{run_id.to_s}", opts)
|
367
368
|
end
|
368
369
|
|
369
370
|
# Get run by run id
|
@@ -372,7 +373,7 @@ module Endpoints
|
|
372
373
|
# @example GET index.php?/api/v2/get_run/:run_id
|
373
374
|
# @see http://docs.gurock.com/testrail-api2/reference-runs
|
374
375
|
def get_run(run_id, opts = {})
|
375
|
-
send_get("get_run
|
376
|
+
send_get("get_run/:#{run_id.to_s}", opts)
|
376
377
|
end
|
377
378
|
|
378
379
|
# Get runs by project id
|
@@ -381,8 +382,8 @@ module Endpoints
|
|
381
382
|
# @param opts [hash]
|
382
383
|
# @example GET index.php?/api/v2/get_runs/:project_id
|
383
384
|
# @see http://docs.gurock.com/testrail-api2/reference-runs
|
384
|
-
def get_runs(project_id,
|
385
|
-
send_get("get_runs
|
385
|
+
def get_runs(project_id, opts = {})
|
386
|
+
send_get("get_runs/:#{project_id.to_s}", opts)
|
386
387
|
end
|
387
388
|
|
388
389
|
# Add run by suite id
|
@@ -391,7 +392,7 @@ module Endpoints
|
|
391
392
|
# @example POST index.php?/api/v2/add_run/:project_id
|
392
393
|
# @see http://docs.gurock.com/testrail-api2/reference-runs
|
393
394
|
def add_run(project_id, opts = {})
|
394
|
-
send_post("add_run
|
395
|
+
send_post("add_run/:#{project_id.to_s}", opts)
|
395
396
|
end
|
396
397
|
|
397
398
|
# Updates existing test run
|
@@ -400,7 +401,7 @@ module Endpoints
|
|
400
401
|
# @example POST index.php?/api/v2/update_run/:run_id
|
401
402
|
# @see http://docs.gurock.com/testrail-api2/reference-runs
|
402
403
|
def update_run(run_id, opts = {})
|
403
|
-
send_post("update_run
|
404
|
+
send_post("update_run/:#{run_id.to_s}", opts)
|
404
405
|
end
|
405
406
|
|
406
407
|
# Closes an existing test run and archives its tests & results
|
@@ -418,7 +419,7 @@ module Endpoints
|
|
418
419
|
# @example POST index.php?/api/v2/delete_run/:run_id
|
419
420
|
# @see http://docs.gurock.com/testrail-api2/reference-runs
|
420
421
|
def delete_run(run_id, opts = {})
|
421
|
-
send_post("delete_run
|
422
|
+
send_post("delete_run/:#{run_id.to_s}", opts)
|
422
423
|
end
|
423
424
|
|
424
425
|
# Returns an existing test
|
@@ -427,7 +428,7 @@ module Endpoints
|
|
427
428
|
# @example GET index.php?/api/v2/get_test/:test_id
|
428
429
|
# @see http://docs.gurock.com/testrail-api2/reference-tests
|
429
430
|
def get_test(test_id, opts = {})
|
430
|
-
send_get("get_test
|
431
|
+
send_get("get_test/:#{test_id.to_s}", opts)
|
431
432
|
end
|
432
433
|
|
433
434
|
# Returns a list of tests for a test run
|
@@ -436,7 +437,7 @@ module Endpoints
|
|
436
437
|
# @example GET index.php?/api/v2/get_tests/:run_id
|
437
438
|
# @see http://docs.gurock.com/testrail-api2/reference-tests
|
438
439
|
def get_tests(run_id, opts = {})
|
439
|
-
send_get("get_tests
|
440
|
+
send_get("get_tests/:#{run_id.to_s}", opts)
|
440
441
|
end
|
441
442
|
|
442
443
|
end
|
data/lib/version.rb
CHANGED