Sha256: e3577ffac3c1f5793a9fcbed2c0f48992d66f18d72d9f26fae43db3f6e82596a
Contents?: true
Size: 556 Bytes
Versions: 70
Compression:
Stored size: 556 Bytes
Contents
require 'spec_helper' describe Maestrano::Connector::Rails::ConnectorLogger do subject { Maestrano::Connector::Rails::ConnectorLogger } describe 'self.log' do let(:organization) { create(:organization) } it 'calls rails.logger' do expect(Rails.logger).to receive(:info) subject.log('info', organization, 'msg') end it 'includes the organization uid and tenant' do expect(organization).to receive(:uid) expect(organization).to receive(:tenant) subject.log('info', organization, 'msg') end end end
Version data entries
70 entries across 70 versions & 1 rubygems