Permalink
Browse files

hello world rake task removed, and minor comment change in test

  • Loading branch information...
1 parent 5d0a0d7 commit a589d5fc9a79f9c22a5310d364328c29ea02320b @RicSwirrl RicSwirrl committed May 17, 2009
Showing with 2 additions and 10 deletions.
  1. +1 −9 tasks/taskit_tasks.rake
  2. +1 −1 test/taskit_test.rb
View
@@ -12,12 +12,4 @@ namespace :db do
Rake::Task["db:schema:dump"].invoke if ActiveRecord::Base.schema_format == :ruby
end
end
-end
-
-namespace :taskit do
- desc "Prints out the word 'hello'"
-
- task :hello => :environment do
- puts "hello!"
- end
-end
+end
View
@@ -166,7 +166,7 @@ def test_run_scheduled_task_success_never_run
# verify that the task is not running at the mo
assert_equal false, tasks(:success_1_task).is_running
- # call the session cleaner upper.
+ # call the task
Taskit.send(:run_scheduled_task, scheduled_tasks(:success_1_scheduled_task), Time.now)
# this should run, because it never has, and it's scheduled to run every half an hour

0 comments on commit a589d5f

Please sign in to comment.