You need to add next row in your spec file
You should first load the tasks and then invoke your task
1 2 3 4 5 6 |
require 'rake' MyRailsApp::Application.load_tasks ... Rake::Task['some:rake_task'].invoke |
You need to add next row in your spec file
You should first load the tasks and then invoke your task
1 2 3 4 5 6 |
require 'rake' MyRailsApp::Application.load_tasks ... Rake::Task['some:rake_task'].invoke |