spec/merb_format_spec.rb in wvanbergen-request-log-analyzer-1.1.1 vs spec/merb_format_spec.rb in wvanbergen-request-log-analyzer-1.1.2
- old
+ new
@@ -27,10 +27,10 @@
it "should parse all details from a request correctly" do
request = nil
@log_parser.parse_file(log_fixture(:merb)) { |found_request| request ||= found_request }
request.should be_completed
- #request[:timestamp].should == DateTime.parse('Fri Aug 29 11:10:23 +0200 2008') # FIX ME
+ request[:timestamp].should == 20080829111023 # 'Fri Aug 29 11:10:23 +0200 2008'
request[:dispatch_time].should == 0.243424
request[:after_filters_time].should == 6.9e-05
request[:before_filters_time].should == 0.213213
request[:action_time].should == 0.241652
end