Sha256: 34ec37da5d89899a77948872f730fa8f9b3c25a8207eab8adb39f007424c8032
Contents?: true
Size: 401 Bytes
Versions: 5
Compression:
Stored size: 401 Bytes
Contents
require 'spec_helper' module MessageDriver describe Logging do class TestLogger include Logging end subject { TestLogger.new } describe "#logger" do let(:logger) { double(Logger) } it "returns the broker logger" do allow(MessageDriver::Broker).to receive(:logger).and_return(logger) expect(subject.logger).to be logger end end end end
Version data entries
5 entries across 5 versions & 1 rubygems