Class: ODDB::OdbaExporter::TestCompTable

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



832
833
834
835
836
# File 'ext/export/test/test_oddbdat.rb', line 832

def test_lines
  flexstub(CompLine).should_receive(:new).and_return('compline')
  @comptable = CompTable.new
  assert_equal(['compline'], @comptable.lines('company'))
end