Sha256: b789bd917e38f10d4836ab8ce9e22ca56d95b2ce98d109bae083f4714156e576
Contents?: true
Size: 412 Bytes
Versions: 3
Compression:
Stored size: 412 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'logging' do it "should have a logger" do expect(Dummy).to respond_to(:logger) end it "should be able to log debug methods" do expect(Dummy.logger).to respond_to(:debug) end it "should be settable" do expect(Dummy).to respond_to(:logger=) log = double Dummy.logger = log expect(Dummy.logger).to eq(log) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vertebrae-1.0.0 | spec/logger_spec.rb |
vertebrae-0.7.0 | spec/logger_spec.rb |
vertebrae-0.6.2 | spec/logger_spec.rb |