spec/functional/format_03_spec.rb in dbf-1.2.2 vs spec/functional/format_03_spec.rb in dbf-1.2.4
- old
+ new
@@ -1,10 +1,10 @@
require File.dirname(__FILE__) + "/../spec_helper"
require File.dirname(__FILE__) + "/dbf_shared"
describe DBF, "of type 03 (dBase III without memo file)" do
- before(:each) do
+ before do
@table = DBF::Table.new "#{DB_PATH}/dbase_03.dbf"
end
it_should_behave_like "DBF"
@@ -14,10 +14,10 @@
it "should have a memo file" do
@table.should_not have_memo_file
end
- it "should report the correct memo type" do
+ it "should have a nil memo_file_format" do
@table.memo_file_format.should be_nil
end
end
\ No newline at end of file