Permalink
Browse files

Fix invokation of rake task

  • Loading branch information...
1 parent 486fafe commit 7a2327d0afc28a1b54288d1f50e3bd4fe14e3a43 vagrant committed Feb 20, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/tasks/collect.rake
View
@@ -42,12 +42,12 @@ namespace :collect do
namespace :last_week do
desc "collect data for last week and print"
task :print do
- Rake::Task["last_week"].invoke("print")
+ Rake::Task["collect:last_week"].invoke("print")
end
desc "collect data for last week and send to queue"
task :broadcast do
- Rake::Task["last_week"].invoke("broadcast")
+ Rake::Task["collect:last_week"].invoke("broadcast")
end
end
-end
+end

0 comments on commit 7a2327d

Please sign in to comment.