Sha256: 52d7227b2391aa4d3bf6a2a9356145035945aa5c157f90965b6fc71cf794c3c5

Contents?: true

Size: 535 Bytes

Versions: 2

Compression:

Stored size: 535 Bytes

Contents

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

describe DBF, "of type 83 (dBase III with memo file)" do
  before do
    @table = DBF::Table.new "#{DB_PATH}/dbase_83.dbf"
  end
  
  it_should_behave_like "DBF"
  
  it "should report the correct version number" do
    @table.version.should == "83"
  end
  
  it "should have a memo file" do
    @table.should have_memo_file
  end
  
  it "should report the correct memo type" do
    @table.memo_file_format.should == :dbt
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

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