Sha256: f58ed54f8c3b2565d190eddfb3fbc4f25ade581955459449cae6692be244cd19
Contents?: true
Size: 371 Bytes
Versions: 11
Compression:
Stored size: 371 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, :patch, :delete, :headers, :endpoint, :options, :adapter, :params, :raw].each do |method| scope.should_receive(method) ApiClient::Base.send(method) end end end
Version data entries
11 entries across 11 versions & 1 rubygems