Show More
Commit Description:
add golden submit button...
Commit Description:
add golden submit button - When the user submit more than or equal to 100 times the submit button will turn gold - Add golden-btn tag in applications.css.scss
File last commit:
Show/Diff file:
Action:
test/concurrent/task_test_teardown.rb | 13 lines | 252 B | text/x-ruby | RubyLexer |
ENV["RAILS_ENV"] = "test"
require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")
def clear_all_tasks
Task.all.each do |task|
task.destroy
end
end
puts Task.where(status: Task::STATUS_COMPLETE).length
clear_all_tasks