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 156445a commit 6a085c8Copy full SHA for 6a085c8
spec/ofx/ofx_parser_spec.rb
@@ -1,6 +1,17 @@
1
require "spec_helper"
2
3
describe OFX::Parser do
4
+ def ofx_2_example(version)
5
+ <<~OFX_CONTENT
6
+ <?xml version="1.0" encoding="US-ASCII"?>
7
+
8
+ <?OFX OFXHEADER="200" VERSION="#{version}" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE"?>"
9
10
+ <OFX>
11
+ </OFX>
12
+ OFX_CONTENT
13
+ end
14
15
before do
16
@ofx = OFX::Parser::Base.new("spec/fixtures/sample.ofx")
17
end
@@ -132,13 +143,4 @@
132
143
expect(@ofx.headers.size).to be(9)
133
144
134
145
135
-
136
- def ofx_2_example(version)
137
- <<-EndOfx
138
-<?xml version="1.0" encoding="US-ASCII"?>
139
-<?OFX OFXHEADER="200" VERSION="#{version}" SECURITY="NONE" OLDFILEUID="NONE" NEWFILEUID="NONE"?>"
140
-<OFX>
141
-</OFX>
142
- EndOfx
- end
146
0 commit comments