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:

Code:

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

Code:

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.

Cheers,
Matthew


Jim_in_Germany October 24th, 2008 07:15 AM

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

Code:

rake db:test:clone_structure


All times are GMT -4. The time now is 05:16 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.