Show More
Commit Description:
fig bugs in login report
Commit Description:
fig bugs in login report
References:
File last commit:
Show/Diff file:
Action:
test/concurrent/task_test_teardown.rb | 13 lines | 252 B | text/x-ruby | RubyLexer |
jittat
add some lock in task...
r30 ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")
def clear_all_tasks
change find(:xxx) to correct syntax for rails 4
r619 Task.all.each do |task|
jittat
add some lock in task...
r30 task.destroy
end
end
change find(:xxx) to correct syntax for rails 4
r619 puts Task.where(status: Task::STATUS_COMPLETE).length
jittat
add some lock in task...
r30
clear_all_tasks