Sha256: c92511b4744630ba36a3e1ba123b7da4acb6b58555f3890e21fa4f5f8c777833

Contents?: true

Size: 362 Bytes

Versions: 6

Compression:

Stored size: 362 Bytes

Contents

describe Gnucash do
  describe '.open' do
    it 'opens a gzipped gnucash book' do
      book = Gnucash.open("spec/books/sample.gnucash")
      book.is_a?(Gnucash::Book).should be_true
    end
    it 'opens a plain text gnucash book' do
      book = Gnucash.open("spec/books/sample-text.gnucash")
      book.is_a?(Gnucash::Book).should be_true
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gnucash-1.2.0 spec/gnucash_spec.rb
gnucash-1.1.0 spec/gnucash_spec.rb
gnucash-1.0.3 spec/gnucash_spec.rb
gnucash-1.0.2 spec/gnucash_spec.rb
gnucash-1.0.1 spec/gnucash_spec.rb
gnucash-1.0.0 spec/gnucash_spec.rb