dock_test 0.3.0 → 0.3.1

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: 9fd7c52a4f3ff1192ca1f047e69de6ab688d7fb9
4
- data.tar.gz: b17880837bbcd72a529964142e80cdf108f105aa
3
+ metadata.gz: ddbc6bf09a3e3aee3ee59fc7fe16a73d47202e35
4
+ data.tar.gz: 0b5b43e38eae33fa94c49012a413f96deaefddf0
5
5
  SHA512:
6
- metadata.gz: 1a8514b2ee554a0cdd1b2712fafbc9b207abeceaa8c0478ff7fd190d872c029ab6f4d3cfb071b9defc8a2eae71d56d90eee34bb506014f1a5b83d6e875597c22
7
- data.tar.gz: 8c8708433f41f3b1d0723831b06ee3fef458da1d24efea1e397897c46210fe369a9fe48c66f4d3e7995ad00366dc9c2fba2721b7d1844be728e00384a2998f9d
6
+ metadata.gz: acd770ca553635721a2d76a2e46b6b163021946c9462717c362666b3a24d24ebb975aec55d27d9ffcecf3dc04f60a5fa4bb272731ec4149277a315947c445202
7
+ data.tar.gz: 9577a4612aab39df5d8928f6fbab54e1b64d8b8dcff8ffe3e6bf05f0199f2747e32ade4c7c8030c2a7133f97f850d8b55445564d4048de03063107971c4e4579
@@ -25,7 +25,7 @@ module Minitest::Assertions
25
25
  def assert_response_xml_schema(schema_path)
26
26
  schema = ::Nokogiri::XML::Schema(File.read(schema_path))
27
27
  document = ::Nokogiri::XML(last_response.body)
28
- assert schema.valid?(document), "The actual response does not match the schema defined in #{schema_path}"
28
+ assert document.root && schema.valid?(document), "The actual response does not match the schema defined in #{schema_path}"
29
29
  end
30
30
 
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module DockTest
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dock_test
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jack Xu