Class: ODDB::OdbaExporter::TestEanTable

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



702
703
704
705
706
# File 'ext/export/test/test_oddbdat.rb', line 702

def test_lines
  flexstub(EanLine).should_receive(:new).and_return('eanline')
  @eantable = EanTable.new
  assert_equal(['eanline'], @eantable.lines('package'))
end