Sha256: 28e89685ccf3011571032f276dc98670d7b2747ab4421ff95bf5b38429c5dff3
Contents?: true
Size: 564 Bytes
Versions: 11
Compression:
Stored size: 564 Bytes
Contents
require 'spec_helper' describe CopyTunerClient do before do CopyTunerClient.configuration.stubs(:cache => 'cache', :client => 'client') end it 'delegates cache to the configuration object' do expect(CopyTunerClient.cache).to eq('cache') expect(CopyTunerClient.configuration).to have_received(:cache).once end it 'delegates client to the configuration object' do expect(CopyTunerClient.client).to eq('client') expect(CopyTunerClient.configuration).to have_received(:client).once end end
Version data entries
11 entries across 11 versions & 1 rubygems