Sha256: 35a99ac506e80d17de3a23ce5c09fa260a0ccca60e68847420d6cbb4efe84c32

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 f5 (FoxPro with memo file)" do
  before(:each) do
    @reader = DBF::Reader.new "#{DB_PATH}/dbase_f5.dbf"
  end
  
  it_should_behave_like "DBF"
  
  it "should report the correct version number" do
    @reader.version.should == "f5"
  end
  
  it "should have a memo file" do
    @reader.should have_memo_file
  end
  
  it "should report the correct memo type" do
    @reader.memo_file_format.should == :fpt
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dbf-0.5.3 spec/functional/format_f5_spec.rb
dbf-0.5.4 spec/functional/format_f5_spec.rb