Sha256: 7758d0548f162910031f2bfc5e1aec1c905dc4ccc4ce3d4b3af292ba32813d8a

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 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(:each) do
    @reader = DBF::Reader.new "#{DB_PATH}/dbase_83.dbf"
  end
  
  it_should_behave_like "DBF"
  
  it "should report the correct version number" do
    @reader.version.should == "83"
  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 == :dbt
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

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