Sha256: 0035850c904b5d6088a205abf89fd32f397721f62a3ca3c21d5fc9302e07bdf2

Contents?: true

Size: 487 Bytes

Versions: 15

Compression:

Stored size: 487 Bytes

Contents

require "spec_helper"

describe OFX do
  describe "#OFX" do
    it "should yield an OFX instance" do
      OFX("spec/fixtures/sample.ofx") do |ofx|
        ofx.class.should == OFX::Parser::OFX102
      end
    end

    it "should be an OFX instance" do
      OFX("spec/fixtures/sample.ofx") do
        self.class.should == OFX::Parser::OFX102
      end
    end

    it "should return parser" do
      OFX("spec/fixtures/sample.ofx").class.should == OFX::Parser::OFX102
    end
  end
end

Version data entries

15 entries across 15 versions & 5 rubygems

Version Path
ofx-0.3.5 spec/ofx/ofx_spec.rb
ofx-0.3.4 spec/ofx/ofx_spec.rb
ofx_br-0.3.3 spec/ofx_br/ofx_spec.rb
ofx-0.3.2 spec/ofx/ofx_spec.rb
banker-ofx-0.4.2 spec/ofx/ofx_spec.rb
banker-ofx-0.4.1 spec/ofx/ofx_spec.rb
banker-ofx-0.4.0 spec/ofx/ofx_spec.rb
organizze-ofx-0.3.4 spec/ofx/ofx_spec.rb
organizze-ofx-0.3.3 spec/ofx/ofx_spec.rb
organizze-ofx-0.3.2 spec/ofx/ofx_spec.rb
ofx-0.3.1 spec/ofx/ofx_spec.rb
ofx-0.3.0 spec/ofx/ofx_spec.rb
chopmo-ofx-0.3.0 spec/ofx/ofx_spec.rb
ofx-0.2.9 spec/ofx/ofx_spec.rb
ofx-0.2.8 spec/ofx/ofx_spec.rb