Sha256: a26f79c68f90be1e017d00cce880fa012b568e5c7435dd41fbdd28621501e358
Contents?: true
Size: 661 Bytes
Versions: 8
Compression:
Stored size: 661 Bytes
Contents
require 'spec_helper' describe 'Table' do before(:each) do delete_database rescue nil @db = create_database @table = @db.create_table('', table_definition) end after(:each) do @db.close if @db delete_database end it 'gets the definition' do @table.get_definition.should_not be_nil end it 'gets the documentation' do @table.get_documentation.should eq('') end it 'sets the documentation' do @table.set_documentation('Table Documentation') @table.get_documentation.should eq('Table Documentation') end it 'gets the field information' do @table.get_field_information.should_not be_nil end end
Version data entries
8 entries across 8 versions & 1 rubygems