Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Unit tests for sqlite3 adapter fail on first run

#1586

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.

Reported by Dan Van Derveer · December 17th, 2008 @ 02:06 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none