sfb_scripts 1.5 → 1.6
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: 5e7279bb5e7fffd4a2b44fad0f7ae8f2b6cf0ce7
|
4
|
+
data.tar.gz: 8a1131704ff90b965179f71f41ea62f68de24482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31638c99f1501a7b035bdda11105e69792722269ece7d8ac5add2ce85d1ff85d092a75979df327361e4dfbaf0fa35f67d5644996a910fd9afe55006b9f323da1
|
7
|
+
data.tar.gz: 8005900cb970a8725b2e2f97d518485b2ce93fc7f1d89e1a80617fb8045bc7775bf07c60344da99eaf007ceaaf3d70b1530881b411f5dd327892df62eb22c9e1
|
@@ -4,9 +4,9 @@ class TestCollection
|
|
4
4
|
|
5
5
|
attr_reader :tests, :query
|
6
6
|
|
7
|
-
def initialize(
|
7
|
+
def initialize(tests_data=[], query: '')
|
8
8
|
@query = query
|
9
|
-
@tests =
|
9
|
+
@tests = tests_data.map do |test_data|
|
10
10
|
test_data = {file: test_data} if test_data.is_a?(String)
|
11
11
|
TestCase.new(
|
12
12
|
full_path: test_data[:file],
|