Skip to content

Commit 38c85b1

Browse files
committed
Failing test for ContentDispositionParser
1 parent 1e37311 commit 38c85b1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# encoding: utf-8
2+
require 'spec_helper'
3+
4+
describe "ContentDispositionParser" do
5+
6+
subject(:parser){ Mail::Parsers::ContentDispositionParser.new }
7+
8+
it "should work with unquoted dates" do
9+
parser.parse('attachment; filename="Scan213.pdf"; size=175632; creation-date=Tue, 14 Oct 2014 10:47:01 GMT; modification-date=Mon, 13 Oct 2014 09:44:52 GMT')
10+
end
11+
end

0 commit comments

Comments
 (0)