Skip to content

Commit 6a7e5da

Browse files
committed
new try
1 parent 71315d4 commit 6a7e5da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/unit/lib/cloud_controller/blobstore/storage_cli/storage_cli_client_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ def initialize(*); end
1111

1212
before { StorageCliClient.register('DummyProvider', DummyClient) }
1313

14+
after { StorageCliClient.instance_variable_set(:@registry, {}) }
15+
1416
it 'builds the correct client' do
1517
client_from_registry = StorageCliClient.build(connection_config: { provider: 'DummyProvider' }, directory_key: 'dummy-key', root_dir: 'dummy-root')
1618
expect(client_from_registry).to be_a(DummyClient)

0 commit comments

Comments
 (0)