Sha256: 683d267edf3f2e9269107d6ca5693bf5ed94a255be239420408fd8dff686b9ec
Contents?: true
Size: 398 Bytes
Versions: 40
Compression:
Stored size: 398 Bytes
Contents
require 'spec_helper' describe ActiveFedora::Base do let(:logger1) { double(debug?: false) } before do @initial_logger = described_class.logger described_class.logger = logger1 end after do described_class.logger = @initial_logger end it "Allows loggers to be set" do expect(logger1).to receive(:warn).with("Hey") described_class.new.logger.warn "Hey" end end
Version data entries
40 entries across 40 versions & 1 rubygems