Sha256: 0f8624410aca159dd7a5f01e267a13fb1cd4af0a819b6bd21ced91fc431a437f

Contents?: true

Size: 544 Bytes

Versions: 2

Compression:

Stored size: 544 Bytes

Contents

require File.dirname(__FILE__) + "/../spec_helper"
require File.dirname(__FILE__) + "/dbf_shared"

describe DBF, "of type 31 (Visual FoxPro with AutoIncrement field)" do
  before do
    @table = DBF::Table.new "#{DB_PATH}/dbase_31.dbf"
  end
  
  it_should_behave_like "DBF"
  
  it "should have a dBase version of 31" do
    @table.version.should == "31"
  end
  
  it "should have a memo file" do
    @table.should_not have_memo_file
  end
  
  it "should have a nil memo_file_format" do
    @table.memo_file_format.should be_nil
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dbf-1.2.5 spec/functional/format_31_spec.rb
dbf-1.2.4 spec/functional/format_31_spec.rb