Sha256: fbc04b4f16c0e752ee4def4793cbc1a8a4c13f4c8f174986990653b64dd9a888
Contents?: true
Size: 360 Bytes
Versions: 15
Compression:
Stored size: 360 Bytes
Contents
require "spec_helper" describe ApiClient::Base do it "delegates methods to scope" do scope = mock ApiClient::Base.stub(:scope).and_return(scope) [:fetch, :get, :put, :post, :delete, :headers, :endpoint, :options, :adapter, :params, :raw].each do |method| scope.should_receive(method) ApiClient::Base.send(method) end end end
Version data entries
15 entries across 15 versions & 1 rubygems