Invoke rake task on Rspec

You need to add next row in your spec file

You should first load the tasks and then invoke your task