Sha256: 7877200081ef221306a2c2be6713e2adbd23da8224f8dd59e2ff30ab6acf55b6
Contents?: true
Size: 477 Bytes
Versions: 19
Compression:
Stored size: 477 Bytes
Contents
require File.join(File.expand_path(File.dirname(__FILE__)), '..', 'spec_helper') class MyObjectWithLogSupport include RuGUI::LogSupport end describe RuGUI::LogSupport do before(:each) do @my_object_with_log_support = MyObjectWithLogSupport.new end it "should have a default logger if it is not initialized" do @my_object_with_log_support.respond_to?(:logger).should be_true @my_object_with_log_support.logger.should be_an_instance_of(Logger) end end
Version data entries
19 entries across 19 versions & 2 rubygems