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