expect(mock_file).toreceive(:puts).with(/ActionController::Routing...\nfoo\n\n# == Route Map \(Updated \d{4}-\d{2}-\d{2} \d{2}:\d{2}\)\n#\n# another good line\n# good line\n/)
AnnotateRoutes.do_annotationstimestamp: true
context'with newer Rake versions'do
let:rake_routes_resultdo
<<~EOS.chomp
another good line
good line
EOS
end
context'When the route file does not end with an empty line'do