module Apivore::RspecHelpers

Public Instance Methods

conform_to(custom_schema) click to toggle source
# File lib/apivore/rspec_helpers.rb, line 11
def conform_to(custom_schema)
  CustomSchemaValidator.new(custom_schema)
end
validate(method, path, response_code, params = {}) click to toggle source
# File lib/apivore/rspec_helpers.rb, line 7
def validate(method, path, response_code, params = {})
  Validator.new(method, path, response_code, params)
end
validate_all_paths() click to toggle source
# File lib/apivore/rspec_helpers.rb, line 15
def validate_all_paths
  AllRoutesTestedValidator.new
end