Sha256: 984904918c62ca79f16ea20858d8470e15b0ffbef0518e4fd809e48794186a89

Contents?: true

Size: 694 Bytes

Versions: 3

Compression:

Stored size: 694 Bytes

Contents

require "spec_helper"

describe Quicken::Spec  do

  it "should be conform with account section of Qif specification" do
    [ :number, :type  ].each do |i|
      Quicken::Spec::ACCOUNT.keys.should include(i)
    end
  end

  it "should be conform with transaction section of Qif specification" do
    [ 
      :number, :amount, :date, :memo, :cleared, :payee, 
      :address, :category, :flag, :split_category, :split_memo, 
      :split_or_investment_amount, :split_percentage, :investment, 
      :investment_security, :investment_price, 
      :investment_shares_quantity, :investment_commission 
    ].each do |i|
      Quicken::Spec::TRANSACTION.keys.should include(i)
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quicken-0.0.3 spec/quicken/spec_spec.rb
quicken-0.0.2 spec/quicken/spec_spec.rb
quicken-0.0.1 spec/quicken/spec_spec.rb