easy_json_matcher 0.3.1 → 0.3.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: 9d89a8713abb0a107d389588fc6ab8276b97a73e
|
4
|
+
data.tar.gz: 1a984ae9ebf4154fe92ed59b4d551aed3d31949d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3859e9e26ccd582d6cd76438b7dfb27f852211dcce7e2863050e1f48981de0539ff3835571b02fe1de45ade149f11cc46c31ec776d403d80e315d0dbd81a758c
|
7
|
+
data.tar.gz: 4f9486b504b527d7ab1a081538cdfa5e401c7a69ebf3b3ecbe3ed187a9dd0616828fe5958679f2e3d4c91031c2c6846f79a5f745dd4a1b4a3406d4c121048f3a
|
@@ -19,7 +19,7 @@ module EasyJSONMatcher
|
|
19
19
|
candidate = {
|
20
20
|
name: "Green Mandarin"
|
21
21
|
}.to_json
|
22
|
-
schema =
|
22
|
+
schema = SchemaLibrary.use_schema(name: @name)
|
23
23
|
assert(schema.valid?(candidate: candidate), "test_schema did not validate correctly")
|
24
24
|
end
|
25
25
|
|