mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 15:22:56 +00:00
simplify validation blocks and use correct scope
This commit is contained in:
@@ -27,8 +27,8 @@ module Rswag
|
||||
end
|
||||
end
|
||||
|
||||
def assert_response_matches_metadata(metadata, &block)
|
||||
ResponseValidator.new.validate!(metadata, response, &block)
|
||||
def assert_response_matches_metadata(metadata)
|
||||
ResponseValidator.new.validate!(metadata, response)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user