Sha256: 7fbcb69cda965a55f4093d864d448c8635b861b144436554c1afbc0e5f1b80c7
Contents?: true
Size: 363 Bytes
Versions: 17
Compression:
Stored size: 363 Bytes
Contents
require "spec_helper" describe ApiClient::Base do it "delegates methods to scope" do scope = double 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
17 entries across 17 versions & 1 rubygems