Sha256: 32e801c1cc0dfde7f1d054e2132473e030ac2563be0f13cd1a56bd3a8d164c2e
Contents?: true
Size: 627 Bytes
Versions: 6
Compression:
Stored size: 627 Bytes
Contents
# encoding: utf-8 require 'logstash/devutils/rspec/spec_helper' require 'logstash/inputs/google_cloud_storage' require 'logstash/inputs/cloud_storage/client' describe LogStash::Inputs::CloudStorage::Client do # This test is mostly to make sure the Java types, signatures and classes # haven't changed being that JRuby is very relaxed. describe '#initialize' do let(:logger) { spy('logger') } it 'does not throw an error when initializing' do key_file = ::File.join('spec', 'fixtures', 'credentials.json') LogStash::Inputs::CloudStorage::Client.new('my-bucket', key_file, logger) end end end
Version data entries
6 entries across 6 versions & 1 rubygems