Sha256: 1c82bcf9733226f81a04f0f10b94519c0964fa6e9b66fab963e5ed68984f869b
Contents?: true
Size: 341 Bytes
Versions: 67
Compression:
Stored size: 341 Bytes
Contents
require 'spec_helper' describe Dockly::AWS do subject { Dockly::AWS } describe '#reset_cache!' do before do subject.instance_variable_set(:@s3, double) end it 'sets @s3 to nil' do expect { subject.reset_cache! } .to change { subject.instance_variable_get(:@s3) } .to(nil) end end end
Version data entries
67 entries across 67 versions & 1 rubygems