Class: ODDB::OdbaExporter::TestAcTable

Inherits:
Test::Unit::TestCase
  • Object
show all
Includes:
FlexMock::TestCase
Defined in:
ext/export/test/test_oddbdat.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) test_lines



560
561
562
563
564
# File 'ext/export/test/test_oddbdat.rb', line 560

def test_lines
  flexstub(AcLine).should_receive(:new).and_return('acline')
  @actable = AcTable.new
  assert_equal(['acline'], @actable.lines('package'))
end