Hi all,

I'm running into an issue with the way that my Rails projects are
organized.  I have two projects, which are

"staging" -- the current release branch
"trunk" -- the mainline

The issue I'm running into is that a database schema change has been
made against trunk.  This broke some of my integration tests that run
against the database.

Because both staging and trunk have the same database.yml file,
they're working against the same database schema.  I tried tweaking
the test database of staging, but the way that Rails prepares the test
database is to make a clone from the development one.  So in order to
run integration tests, I have to create a development database for
staging that I'm never going to use.

I ran into this with the regular java cruisecontrol server.  I was
using Spring, so I had a properties file that was specified by a
system property I set through the command line.  I'm not sure what the
equivalent Rails / Ruby way is to do it, or what I do after that.

Anyone done this themselves or have any ideas?

Will.
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to