Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Needs to reset SchemaMigration first, or the tests fail in sqlite3

  • Loading branch information...
commit 033248b5fbf5fa10e42b3647ea136bec20227a9a 1 parent 4bfcae0
@amatsuda amatsuda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/test/cases/ar_schema_test.rb
View
2  activerecord/test/cases/ar_schema_test.rb
@@ -7,6 +7,7 @@ class ActiveRecordSchemaTest < ActiveRecord::TestCase
def setup
@connection = ActiveRecord::Base.connection
+ ActiveRecord::SchemaMigration.drop_table
end
def teardown
@@ -45,5 +46,4 @@ def test_schema_subclass
assert_nothing_raised { @connection.select_all "SELECT * FROM fruits" }
end
end
-
end

3 comments on commit 033248b

@rafaelfranca

@amatsuda are you sure. I'm not getting any failures on sqlite3, or it is just when running this individual file?

@amatsuda
Collaborator

@rafaelfranca Yes, when running this individual file.

Please sign in to comment.
Something went wrong with that request. Please try again.