Ruby on Rails: How to run a rake task for the env.rb?
Posted
by DerNalia
on Stack Overflow
See other posts from Stack Overflow
or by DerNalia
Published on 2010-06-16T13:27:11Z
Indexed on
2010/06/16
15:32 UTC
Read the original article
Hit count: 200
ruby-on-rails
in features/support/env.rb in cucumber, i would like to have a rake task run everytime i start my tests... but not before each scenario.. just.. once.
This is what i need to run
Rake::Task["db:test:prepare"].reenable
Rake::Task["db:test:prepare"].invoke
© Stack Overflow or respective owner