Sha256: 6a2200801d6ce7a1837593eab895b0d04366bd2a22df84597df440fabbee3e7a
Contents?: true
Size: 552 Bytes
Versions: 6
Compression:
Stored size: 552 Bytes
Contents
require 'spec_helper' describe CopycopterClient do before do CopycopterClient.configuration.stubs(:cache => 'cache', :client => 'client') end it 'delegates cache to the configuration object' do CopycopterClient.cache.should == 'cache' CopycopterClient.configuration.should have_received(:cache).once end it 'delegates client to the configuration object' do CopycopterClient.client.should == 'client' CopycopterClient.configuration.should have_received(:client).once end end
Version data entries
6 entries across 6 versions & 1 rubygems