search for: clone_schema_to_test

Displaying 4 results from an estimated 4 matches for "clone_schema_to_test".

2006 Feb 04
2
CIA question
Hi, I''d like to set up CIA. So I added the plugin to my app, went to my subversion server, added the post commit, added a build directory. I checked out the code in the build directory on the svn server. However, running rake on it fails, because the test database is empty (i.e. no tables, so fixtures don''t load). What''s the solution here?
2006 Jan 07
1
Configuration problem on older app upgraded to 1.0
...on that began on a much earlier version of rails, and has been upgraded to 1.0. Somewhere along the line, tests got broken. The first thing I noticed, upon looking into the cause, is that my test database was not being cloned correctly from development. So, I tried to run the tasks by hand: $ rake clone_schema_to_test (in /Users/jkh/Development/assetstream) rake aborted! database configuration does not specify adapter $ rake clone_structure_to_test (in /Users/jkh/Development/assetstream) rake aborted! You have a nil object when you didn''t expect it! You might have expected an instance of Array. The err...
2006 Mar 05
0
rake clone_schema|structure_to_test fail
When I do ''rake clone_schema_to_test'' I get this: (in /var/www/rails1) rake aborted! ./db/schema.rb:34: syntax error, unexpected tCONSTANT, expecting kDO or ''{'' or ''('' t.column "datetime", :datetime, :default => Sun Mar 05 03:19:39 MST 2006, :null => false...
2006 Feb 05
2
Continuous Integration question (not CIA question)
...e code in the build directory on the svn server. > > > However, running rake on it fails, because the test database is empty > > > (i.e. no tables, so fixtures don''t load). > > > > > > What''s the solution here? > > > > > > rake clone_schema_to_test > > # Recreate the test database from the current environment''s database schema. > > > > rake clone_structure_to_test > > # Recreate the test databases from the development structure > > So, I have to have a schema.rb or a development_structure.sql file > a...