spec/unit/source/log_parser_spec.rb in request-log-analyzer-1.6.1 vs spec/unit/source/log_parser_spec.rb in request-log-analyzer-1.6.2

- old
+ new

@@ -44,10 +44,10 @@ 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') + io = File.new(log_fixture(:test_file_format), 'rb') @log_parser.parse_io(io) do |request| request.should be_kind_of(RequestLogAnalyzer::Request) request.should =~ :test request[:test_capture].should_not be_nil end \ No newline at end of file