[rspec-users] Speccing a rake task
dph at smartmonkey.org
Fri Oct 12 13:38:25 EDT 2007
I'm writing a custom rake task, and I'd like to write an assosciated spec for it.
Does anyone have an example spec for a rake task?
I've seen some examples on the web that use these before blocks:
@rake = Rake::Application.new
Rake.application = @rake
To invoke the task. But this doesn't seem to work for me.
Thanks for the help!
More information about the rspec-users