We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0a4ea6 commit fd05e63Copy full SHA for fd05e63
spec/lib/rex/mime/header_spec.rb
@@ -12,10 +12,6 @@
12
EOS
13
end
14
15
- let(:complex_header) do
16
- 'Date: Wed,20 Aug 2014 08:45:38 -0500'
17
- end
18
-
19
subject do
20
described_class.new
21
@@ -133,6 +129,10 @@
133
129
134
130
135
131
describe "#parse" do
132
+ let(:complex_header) do
+ 'Date: Wed,20 Aug 2014 08:45:38 -0500'
+ end
+
136
it "parses headers separated by lines" do
137
subject.parse(mime_headers_test)
138
expect(subject.headers.length).to eq(2)
0 commit comments