airborne 0.0.15 → 0.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1573ccfe604b75ff7c9db8c54f2b36f35ac272da
4
- data.tar.gz: 1a472ddd60b200c65668d7cb01d63d7ce3587e53
3
+ metadata.gz: 30e01282823fab4e9cc3061afddc348552c5d168
4
+ data.tar.gz: c9046553e132cf9a4b29baa258e8aca2f1a760ec
5
5
  SHA512:
6
- metadata.gz: bfad350fccdaa804523450ad4d62ed55a6154cf51d8c1db8cf973ccb10b9c291064a48509bef564366edf7aec84a2ec29e5c04bc2a5623a4742a281f64e23eda
7
- data.tar.gz: d59244c61b71a7531167c884939e7bbfe78b02ff05c591c4bd6f30e0b10aa309606fdff7018e53a512c679f76e97f12fa48a875250a5ccb67d83d9fee5b07ee0
6
+ metadata.gz: 1939155cf55fd3843322b6499b98b5203572f79a0976a1006111b2f331564ffbd6198cb40a9d44b2351e1140efc231da2d772c78d446f4ef11de9d4065a2037f
7
+ data.tar.gz: e878815c2fd84cc5f858ec8250728f152fe767673875f22f015a75a2c4807b9385d1d413fb6cf8d76a2d3cdb4d20b1c9cc33ada1ad45323800120aa5b97a3717
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'airborne'
3
- s.version = '0.0.15'
3
+ s.version = '0.0.16'
4
4
  s.date = '2014-09-12'
5
5
  s.summary = "RSpec driven API testing framework"
6
6
  s.authors = ["Alex Friedman", "Seth Pollack"]
@@ -108,6 +108,8 @@ module Airborne
108
108
  actual_value = hash[prop_name]
109
109
  if(expected_value.class == Hash)
110
110
  expect_json_impl(expected_value, actual_value)
111
+ elsif(expected_value.class == Proc)
112
+ expected_value.call(actual_value)
111
113
  else
112
114
  expect(expected_value).to eq(actual_value)
113
115
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: airborne
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Friedman