Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit a589d5fc9a79f9c22a5310d364328c29ea02320b 1 parent 5d0a0d7
@RicSwirrl RicSwirrl authored
Showing with 2 additions and 10 deletions.
  1. +1 −9 tasks/taskit_tasks.rake
  2. +1 −1  test/taskit_test.rb
View
10 tasks/taskit_tasks.rake
@@ -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
View
2  test/taskit_test.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.