Sha256: c2566e96ab0f1b84ab799fe3b0142da0699b64413410a6e5aabcd24f2a422ffd
Contents?: true
Size: 502 Bytes
Versions: 17
Compression:
Stored size: 502 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' require 'request_log_analyzer/log_processor' describe RequestLogAnalyzer::LogProcessor, 'stripping log files' do 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
17 entries across 17 versions & 2 rubygems