Sha256: 7832268656c8e17b7db0dfdebf34b0daa7dc75f929272a27deb33acce0ad2375

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

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

describe DBF, "of type 8b (dBase IV with memo file)" do
  before(:each) do
    @reader = DBF::Reader.new "#{DB_PATH}/dbase_8b.dbf"
  end
  
  it_should_behave_like "DBF"
  
  it "should report the correct version number" do
    @reader.version.should == "8b"
  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_8b_spec.rb
dbf-0.5.4 spec/functional/format_8b_spec.rb