[rspec-users] Newbie question, populate or ignore test db

Rahoul Baruah baz at madeofstone.net
Mon Jul 21 04:01:50 EDT 2008

On 21 Jul 2008, at 08:27, David Salgado wrote:

> If you have created it, then perhaps the test db doesn't have the
> right tables. So, try "rake db:test:prepare". You'll need to do that
> after every migration as well.

Once your test database is built, using "rake spec" should ensure  
that your test database matches the structure of your dev database,  
before running your specifications.


Rahoul Baruah
Web design and development: http://www.3hv.co.uk/
Serious Rails Hosting: http://www.brightbox.co.uk/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080721/5808d225/attachment-0001.html>

More information about the rspec-users mailing list