test/loggable_test.rb in semantic_logger-2.10.0 vs test/loggable_test.rb in semantic_logger-2.11.0

- old
+ new

@@ -1,22 +1,15 @@ -# Allow test to be run in-place without requiring a gem install -$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib' - -require 'rubygems' -require 'test/unit' -require 'shoulda' -require 'logger' -require 'semantic_logger' +$LOAD_PATH.unshift File.dirname(__FILE__) +require 'test_helper' require 'stringio' class TestAttribute include SemanticLogger::Loggable end - # Unit Test for SemanticLogger::Appender::File # -class AppenderFileTest < Test::Unit::TestCase +class AppenderFileTest < Minitest::Test context SemanticLogger::Loggable do setup do @time = Time.new @io = StringIO.new @appender = SemanticLogger::Appender::File.new(@io) \ No newline at end of file