module ActiveSupport::Testing::Assertions

def assert_nothing_raised

end
perform_service(param: 'no_exception')
assert_nothing_raised do

Passes if evaluated code in the yielded block raises no exception.

Assertion that the block should not raise an exception.
def assert_nothing_raised
  yield
rescue => error
  raise Minitest::UnexpectedError.new(error)
end