spec/log_parser_spec.rb in wvanbergen-request-log-analyzer-1.1.1 vs spec/log_parser_spec.rb in wvanbergen-request-log-analyzer-1.1.2

- old
+ new

@@ -26,13 +26,12 @@ @log_parser.parse_files([log_fixture(:multiple_files_1), log_fixture(:multiple_files_2)]) end it "should parse all request values when spanned over multiple files" do @log_parser.parse_files([log_fixture(:multiple_files_1), log_fixture(:multiple_files_2)]) do |request| - request.lines.should have(4).items - + request.lines.should have(4).items request[:request_no].should == 1 - request[:test_capture].should == "amazing" + request[:test_capture].should == "Testing is amazing" # Note the custom converter end end it "should parse a stream and find valid requests" do io = File.new(log_fixture(:test_file_format), 'r') \ No newline at end of file