test/appender/elasticsearch_test.rb in semantic_logger-4.0.0.beta1 vs test/appender/elasticsearch_test.rb in semantic_logger-4.0.0.beta2

- old
+ new

@@ -18,10 +18,10 @@ it 'logs to daily indexes' do index = nil @appender.stub(:post, -> json, ind { index = ind }) do @appender.info @message end - assert_equal "semantic_logger-#{Time.now.utc.strftime('%Y.%m.%d')}/log", index + assert_equal "/semantic_logger-#{Time.now.utc.strftime('%Y.%m.%d')}/log", index end SemanticLogger::LEVELS.each do |level| it "send #{level}" do request = nil