Sha256: adf6ffd2292dcff90d649b8dab23f3274df98b30dd5f0803b5518fd5d8768769
Contents?: true
Size: 577 Bytes
Versions: 5
Compression:
Stored size: 577 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Loquor class LoquorTest < HttpAction::Test def test_get_calls_get url = "foo" Client.any_instance.expects(:get).with(url) Loquor.get(url) end def test_put_calls_put url = "foo" payload = "bar" Client.any_instance.expects(:put).with(url, payload) Loquor.put(url, payload) end def test_post_calls_post url = "foo" payload = "bar" Client.any_instance.expects(:post).with(url, payload) Loquor.post(url, payload) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
loquor-0.5.3 | test/loquor_test.rb |
loquor-0.5.2 | test/loquor_test.rb |
loquor-0.5.1 | test/loquor_test.rb |
loquor-0.5.0 | test/loquor_test.rb |
loquor-0.4.0 | test/loquor_test.rb |