spec/unit/source/log_parser_spec.rb in request-log-analyzer-1.10.1 vs spec/unit/source/log_parser_spec.rb in request-log-analyzer-1.11.0
- old
+ new
@@ -9,10 +9,10 @@
it "should have multiple line definitions" do
@log_parser.file_format.line_definitions.length.should >= 2
end
it "should have a valid language" do
- @log_parser.file_format.should be_valid
+ @log_parser.file_format.should be_well_formed
end
it "should set the :source for every parsed line" do
@log_parser.parse_file(log_fixture(:rails_22)) do |request|
request.lines.all? { |line| line[:source] == log_fixture(:rails_22) }.should be_true
\ No newline at end of file