Sha256: ec1acbc9f9efb670032e3956814fd5537315869ee54a807f997b6cf74568e1c8
Contents?: true
Size: 370 Bytes
Versions: 18
Compression:
Stored size: 370 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
18 entries across 18 versions & 1 rubygems