Sha256: 6eff53c62a3f131c454dbd14e9d11a6a3f9483664aef88f4489cd82eb7ff10d9
Contents?: true
Size: 597 Bytes
Versions: 11
Compression:
Stored size: 597 Bytes
Contents
# encoding: utf-8 require 'logstash/outputs/bigquery/streamclient' describe LogStash::Outputs::BigQuery::StreamingClient 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') key_file = ::File.absolute_path(key_file) LogStash::Outputs::BigQuery::StreamingClient.new(key_file, 'my-project', logger) end end end
Version data entries
11 entries across 11 versions & 1 rubygems