[Cruisecontrolrb-users] CC.rb, rails and rspec tests using production database?
Marcus Crafter
marcus at marcuscrafter.com
Mon Apr 16 22:21:04 EDT 2007
Hi All,
Hope all is going well.
Just installed CC.rb in my development environment here and it looks
great. Top stuff.
I was able to get my Rails project registered and building properly
which was awesome.
I'm using RSpec for my tests rather than Test::Unit, so I modified
the project.rake_task to be 'spec' rather than commented out, however
it seems that CC.rb now tries to run my spec's over the production
database rather than the test database.
Running a 'rake spec' from the command line with the same project
works fine as expected, however unfortunately through CC.rb it fails.
Anyone got any thoughts where things might be wrong with the
configuration of what database to use? or any pointers where to take
a look?
Thanks for any thoughts, ideas.
Cheers,
Marcus
More information about the Cruisecontrolrb-users
mailing list