Class: ODDB::OdbaExporter::TestAcnamTable

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



608
609
610
611
612
# File 'ext/export/test/test_oddbdat.rb', line 608

def test_lines
  flexstub(AcnamLine).should_receive(:new).and_return('acnamline')
  @acnamtable = AcnamTable.new
  assert_equal(['acnamline'], @acnamtable.lines('package'))
end