Rake task writing question

rake question: given code like:

Cucumber::Rake::Task.new({:ok => ‘db:test:prepare’}, ‘Run features
that should pass’) do |t|

How would I add an additional instruction to the {:ok =>
‘db:test:prepare’} section?

I’d like to do more here than just preparing a test-database – how do
I add additional commands --> like also preparing a test couchdb
database at the same time? Do I just add a semi-colon, and then the
additional code? Any other suggestions?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs