Sha256: cf2a0c551ced7f2661330b32027cff05abcfcce7802682f0e82244e654e8b0ed

Contents?: true

Size: 604 Bytes

Versions: 9

Compression:

Stored size: 604 Bytes

Contents

require 'spec_helper'

describe "FileGDB" do
  before(:all) do
    delete_database rescue nil
  end

  after(:each) do
    delete_database rescue nil
  end

  after(:all) do
    delete_database rescue nil
  end

  it 'creates a new gdb' do
    db = create_database
    db.should_not be_nil
    db.close
  end

  it 'opens an existing gdb' do
    db = create_database
    db.close
    db = open_database
    db.should_not be_nil
    db.close
  end

  it 'creates a new table' do
    db = create_database
    table = db.create_table('', table_definition)
    table.should_not be_nil
    db.close
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
filegdb-1.1.1 spec/filegdb_spec.rb
filegdb-1.1.0 spec/filegdb_spec.rb
filegdb-1.0.0 spec/filegdb_spec.rb
filegdb-0.0.6 spec/filegdb_spec.rb
filegdb-0.0.5 spec/filegdb_spec.rb
filegdb-0.0.4 spec/filegdb_spec.rb
filegdb-0.0.3 spec/filegdb_spec.rb
filegdb-0.0.2 spec/filegdb_spec.rb
filegdb-0.0.1 spec/filegdb_spec.rb