p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning Ruby on Rails (http://p2p.wrox.com/forumdisplay.php?f=289)
-   -   Ch 8 - Testing Your Model (http://p2p.wrox.com/showthread.php?t=67761)

mattlatmatt April 29th, 2008 02:25 PM

Ch 8 - Testing Your Model
Hello -

I am working on the section in Chapter 8 for testing your model. I followed the instructions on creating the store_test database, entering this into the command line:


rake clone_structure_to_test
But the rake is aborted, returning this error to me:


rake aborted!
Don't know how to build task 'clone_structure_to_test'

Does anyone have any thoughts or insight as to why this might be happening? Any help troubleshooting this is appreciated.


Jim_in_Germany October 24th, 2008 07:15 AM

If you are running Rails 2.x then the correct command is:


rake db:test:clone_structure

All times are GMT -4. The time now is 06:21 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.