Sha256: 25f48c592b99b1472960b7a4ff984ea2e08dcc58c0adba58c02d2d19790ea0a3

Contents?: true

Size: 598 Bytes

Versions: 5

Compression:

Stored size: 598 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "../spec_helper"))
require File.expand_path(File.join(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

5 entries across 5 versions & 1 rubygems

Version Path
dbf-1.3.0 spec/functional/format_31_spec.rb
dbf-1.2.9 spec/functional/format_31_spec.rb
dbf-1.2.8 spec/functional/format_31_spec.rb
dbf-1.2.7 spec/functional/format_31_spec.rb
dbf-1.2.6 spec/functional/format_31_spec.rb