Class: ODDB::OdbaExporter::TestAcmedTable

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



600
601
602
603
604
# File 'ext/export/test/test_oddbdat.rb', line 600

def test_lines
  flexstub(AcmedLine).should_receive(:new).and_return('acmedline')
  @acmedtable = AcmedTable.new
  assert_equal(['acmedline'], @acmedtable.lines('package'))
end