Sha256: 78a4b83169827f7ae45513236dd626996b76c1aeede3a21bcd99081d29305cb2

Contents?: true

Size: 374 Bytes

Versions: 6

Compression:

Stored size: 374 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gnucash-1.5.0 spec/gnucash_spec.rb
gnucash-1.4.0 spec/gnucash_spec.rb
gnucash-1.3.1 spec/gnucash_spec.rb
gnucash-1.3.0 spec/gnucash_spec.rb
gnucash-1.2.2 spec/gnucash_spec.rb
gnucash-1.2.1 spec/gnucash_spec.rb