open both plain text and gzipped gnucash files
This commit is contained in:
1 parent
022337f980
commit
c66f46da9a
2 files changed
+15
-2
No files matched your search
+10
-1
@@ -1,3 +1,12 @@
|
||||
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
|
||||
Reference in new issue
Block a user