Sha256: 3949eb78096ffeec5c0b217b070b74d42bcae01cdf03463199b9a8a43eff8192
Contents?: true
Size: 514 Bytes
Versions: 57
Compression:
Stored size: 514 Bytes
Contents
# typed: false # frozen_string_literal: true module Hephaestus module Webmocks module SlackWebmock def assert_requested_send_to_slack_log assert_requested(:post, "https://slack.com/the_log_room") end def stub_send_to_slack_log stub_request(:post, "https://slack.com/the_log_room") .to_return( status: 200, headers: { content_type: "application/json; charset=utf-8" }, body: {}.to_json, ) end end end end
Version data entries
57 entries across 57 versions & 1 rubygems