Sha256: da8d4b4a1f5558f196df79e04a264af4b187e6bcb37190cb1866c62844f98751
Contents?: true
Size: 423 Bytes
Versions: 47
Compression:
Stored size: 423 Bytes
Contents
require "spec_helper" describe ApiClient::Base do describe '.connection' do it "registers a new connection_hook" do ConnectionHookTestProc = lambda {} class ConnectionHookTest < ApiClient::Base connection &ConnectionHookTestProc end ConnectionHookTest.connection_hooks.size.should == 1 ConnectionHookTest.connection_hooks.should == [ConnectionHookTestProc] end end end
Version data entries
47 entries across 47 versions & 1 rubygems