Sha256: 3a5788fe8280fce17940f8c33e7c23aa6116e6dfe2fceefb534c820bd7efb84e
Contents?: true
Size: 550 Bytes
Versions: 13
Compression:
Stored size: 550 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require 'request_log_analyzer/log_processor' describe RequestLogAnalyzer::LogProcessor, 'stripping log files' do include RequestLogAnalyzer::Spec::Helper before(:each) do @log_stripper = RequestLogAnalyzer::LogProcessor.new(testing_format, :strip, {}) end it "should remove a junk line" do @log_stripper.strip_line("junk line\n").should be_empty end it "should keep a teaser line intact" do @log_stripper.strip_line("processing 1234\n").should be_empty end end
Version data entries
13 entries across 13 versions & 2 rubygems