diff options
Diffstat (limited to 'activerecord/test/aaa_create_tables_test.rb')
-rw-r--r-- | activerecord/test/aaa_create_tables_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/aaa_create_tables_test.rb b/activerecord/test/aaa_create_tables_test.rb index 3db6cb52d0..7703c76a35 100644 --- a/activerecord/test/aaa_create_tables_test.rb +++ b/activerecord/test/aaa_create_tables_test.rb @@ -33,12 +33,12 @@ class AAACreateTablesTest < Test::Unit::TestCase private def use_migrations? unittest_sql_filename = ActiveRecord::Base.connection.adapter_name.downcase + ".sql" - not File.exists? "#{@base_path}/#{unittest_sql_filename}" + not File.exist? "#{@base_path}/#{unittest_sql_filename}" end def use_migrations_for_courses? unittest2_sql_filename = ActiveRecord::Base.connection.adapter_name.downcase + "2.sql" - not File.exists? "#{@base_path}/#{unittest2_sql_filename}" + not File.exist? "#{@base_path}/#{unittest2_sql_filename}" end def recreate(base, suffix = nil) |