Class: ODDB::OdbaExporter::TestScTable

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



824
825
826
827
828
# File 'ext/export/test/test_oddbdat.rb', line 824

def test_lines
  flexstub(ScLine).should_receive(:new).and_return('scline')
  @sctable = ScTable.new
  assert_equal(['scline'], @sctable.lines('substance'))
end