Class: ODDB::OdbaExporter::TestAccompTable

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



568
569
570
571
572
# File 'ext/export/test/test_oddbdat.rb', line 568

def test_lines
  flexstub(AccompLine).should_receive(:new).and_return('accompline')
  @accomptable = AccompTable.new
  assert_equal(['accompline'], @accomptable.lines('package'))
end