module Faraday::ForTest::Response::Assertion

Public Instance Methods

must_succeed() click to toggle source
# File lib/faraday/for_test/response/assertion.rb, line 12
def must_succeed
  unless success?
    raise AssertionError.new(self)
  else
    self
  end
end