test/lib/docparser/document_test.rb in docparser-0.1.2 vs test/lib/docparser/document_test.rb in docparser-0.1.3
- old
+ new
@@ -108,10 +108,10 @@
end
it 'should add the row to the results' do
@test_doc.add_row ['test']
@test_doc.add_row 'test', 'test2'
- @test_doc.results.must_equal [[['test'], ['test', 'test2']]]
+ @test_doc.results.must_equal [[%w(test), %w(test test2)]]
end
it 'should be possible to not use outputs' do
parser = Class.new do
define_method(:outputs) { [] }
\ No newline at end of file