Sha256: d94abe0eaef29d1132daa36373dd8ba8bfa89676d74b1a6ab15e44538556c8a0
Contents?: true
Size: 364 Bytes
Versions: 6
Compression:
Stored size: 364 Bytes
Contents
require 'test_helper' module Chillout class HttpClientTest < ChilloutTestCase def test_post_raises_not_sent_exception_when_get_any_error logger = stub(error: nil) http_client = HttpClient.new(:wrong_config, logger) assert_raises HttpClient::NotSent do http_client.post("/events", {fake_data: "client"}) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems