Sha256: 38136b348c1299d4b0bd94697a324fcab4406fd81d09dd9f35d5da5cfa951e5d

Contents?: true

Size: 589 Bytes

Versions: 5

Compression:

Stored size: 589 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 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

5 entries across 5 versions & 1 rubygems

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