Sha256: e53cb0b0d817da519f58c7c123160616516d7d0d9eb6b024e63532a05506dc4f
Contents?: true
Size: 470 Bytes
Versions: 30
Compression:
Stored size: 470 Bytes
Contents
require '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
30 entries across 30 versions & 1 rubygems