soaspec 0.0.10 → 0.0.11

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: 9fa5a1248a62fb5ce03d9b24d914dfa98c978e28
4
- data.tar.gz: 601743d42c8399edb5a34e82c9569a35b7f7522e
3
+ metadata.gz: b8c8aa2d7043e85afff8aa33c899d6e07ea9c9f2
4
+ data.tar.gz: 5a0e202e250073d91b16577e84f79ab6d39160dd
5
5
  SHA512:
6
- metadata.gz: a3237657f1be3b97ecd7de2fe1f093fe7d024cf18b0d4f8e51879595b5aa7218270fd83eca07da23f2bf354c92625263c89ece87f7fd5664c59099593c4e06e1
7
- data.tar.gz: a8d4aab8cbf8825512e197915655277e64033c453d346b5bca10c2ea7623a668282a481f47caf4c666e52d5890e852af50cf42c6eddd9819c8159bb93afe9f61
6
+ metadata.gz: 5d57d63f7456ae2e9b4f26884449e63ff0051ba7461182fb42d2bf108686576b388679cd8e5dd20dee7fe141db97973f6b1d87643a5398f789d3f85fe8ded562
7
+ data.tar.gz: 0be433e751ff4194e4c360d7dd285cf03e9333ef05481d2ea4220574b85b254c20c3c7a9366af96e56467bb310d93fbdfcbdf000bbe303d397b6f53c5721314c
@@ -32,4 +32,9 @@ RSpec::Matchers.define :have_xpath_value do |expected_hash|
32
32
  expected_hash = Hash[*expected_hash.flatten] if expected_hash.is_a?(Array) # For some reason Array was occuring
33
33
  expect(exchange[expected_hash.keys.first]).to eq expected_hash.values.first
34
34
  end
35
+
36
+ failure_message do |actual|
37
+ "expected that xpath '#{expected_hash.keys.first}' has value '#{expected_hash.values.first}' but was '#{actual[expected_hash.keys.first]}'"
38
+ end
39
+
35
40
  end
@@ -1,3 +1,3 @@
1
1
  module Soaspec
2
- VERSION = '0.0.10'
2
+ VERSION = '0.0.11'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soaspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA