This repository has been archived by the owner on Apr 17, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated integration specs to be runnable using the ADAPTER env variable
* By default all non-adapter specific specs run with SQLite3 * Run the tasks with "ADAPTER=postgres rake spec" to run all the non-adapter specific specs with PostgreSQL. Use "mysql" to test with the MySQL adapter. Adding more adapters will be easy. * Any adapter specific specs, like the MySQL, PostgreSQL and SQLite3 specs run with their own drivers * Fixed specs and code that failed when run with different adapters. There were ~10 bugs uncovered and fixed, both assumptions made in the specs that were untrue, or logic errors in dm-core itself * Updated PostgreSQL driver to run with notices disabled for implicit actions, like automatic index creation for primary keys, not deleting unknown tables when DROP TABLE IF EXISTS is used, for example.
- Loading branch information
Dan Kubb
committed
May 22, 2008
1 parent
842ebb5
commit 799a506
Showing
23 changed files
with
297 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env sh | ||
rake spec:unit | ||
ADAPTER=sqlite3 rake spec:integration | ||
ADAPTER=mysql rake spec:integration | ||
ADAPTER=postgres rake spec:integration |
Oops, something went wrong.