This project is archived and is in readonly mode.

#1586 ✓resolved
Dan Van Derveer

Unit tests for sqlite3 adapter fail on first run

Reported by Dan Van Derveer | December 17th, 2008 @ 02:06 PM | in 2.x

The unit tests for the sqlite3 adapter fail on the first run. On the first run the test/connections/sqlite3_native/connection.rb will create a fresh sqlite3 database with the sqlite3 command and then connect to it. During this run the test_validates_acceptance_of_as_database_column test will fail:

1) Failure: test_validates_acceptance_of_as_database_column(ValidationsTest)

[./test/cases/validations_test.rb:319:in `test_validates_acceptance_of_as_database_column'
 ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:57:in `__send__'
 ./test/cases/../../../activesupport/lib/active_support/testing/setup_and_teardown.rb:57:in `run']:

<"Dan Brown"> expected but was .

On subsequent runs this test will pass.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages