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.

Fix test_rename_nonexistent_column for PostgreSQL

#616

2e1b56c93745bf0513e449e95830edd390abfaf2 added a test for a mysql change which fails in postgresql. This happens because mysql and postgresql raise different exceptions for invalid sql. The fix is simply to assert the expected exception class.

Reported by Tarmo Tänav · July 14th, 2008 @ 07:48 AM

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

Activity

  1. Repository
    Repository
    • State changed from new to resolved

    (from [8f72bc92e20b1242272714f253e23b256761ec1a]) Fixed test_rename_nonexistent_column for PostgreSQL

    Also fixed ability to run migration_test.rb alone

    [#616 state:resolved]

    http://github.com/rails/rails/co...

    July 14th, 2008 @ 09:41 PM

  2. Repository
    Repository

    (from [8a548e4fa8587f24f214195194c1d6974454b656]) Fixed test_rename_nonexistent_column for PostgreSQL

    Also fixed ability to run migration_test.rb alone

    [#616 state:resolved]

    http://github.com/rails/rails/co...

    July 15th, 2008 @ 11:56 PM