Sha256: 039cdd45914da972ad0e00ac4b3ec9fd75ff6257c1e3d0be62e1e18f6618ac54
Contents?: true
Size: 444 Bytes
Versions: 10
Compression:
Stored size: 444 Bytes
Contents
require 'spec_helper' describe Outbox::Rails::Railtie do describe '.logger' do it 'defaults to Rails.logger' do expect(BaseNotifier.logger).to be(Rails.logger) end end describe '.config' do it 'sets configuration' do email_client = Outbox::Messages::Email.default_client expect(email_client).to be_a(Outbox::Clients::TestClient) expect(email_client.settings[:option_1]).to eq(true) end end end
Version data entries
10 entries across 10 versions & 1 rubygems