module Rack::ClientSpec::Assertions
Public Instance Methods
assert(&block)
click to toggle source
# File lib/rack/client_spec/assertions.rb, line 9 def assert(&block) PowerAssert.start(block, assertion_method: __callee__) do |pa| unless pa.yield raise Assertion, pa.message_proc.call end end end