On Mon, Dec 13, 2010 at 1:13 PM, Earle Clubb <[email protected]> wrote:
> I'm trying to use Cucumber with dm-rails. The app is working, but
> whenever I run `rake cucumber` I get an error: "Don't know how to
> build task 'db:test:prepare'". I noticed that this task was removed
> from dm-rails in commit 376cb66. What's the best way to fix/work
> around this error?
>
You can define your own db:test:prepare task:
namespace :db do
namespace :test do
task :prepare do
# do the db preparation here for DataMapper
end
end
end
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
--
You received this message because you are subscribed to the Google Groups
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/datamapper?hl=en.