Response body value validation

Add the possibility to pass a block to the run_test!
method in order to add expectations on your response
This commit is contained in:
Horia Radu
2017-04-28 11:40:33 +03:00
parent cf9170101b
commit 51c9f4e5e6
7 changed files with 44 additions and 11 deletions

View File

@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
s.files = Dir["{lib}/**/*"] + ["MIT-LICENSE", "Rakefile" ]
s.add_dependency "rails", ">= 3.1", "< 5.1"
s.add_dependency "rails", ">= 3.1", "< 5.1"
s.add_dependency 'json', '~> 1.8'
s.add_dependency 'json-schema', '~> 2.2'
s.add_dependency 'rspec-rails', '>= 2.14', '< 4'
end