spec/delayed/backend/test.rb in delayed_job-4.1.6 vs spec/delayed/backend/test.rb in delayed_job-4.1.7.beta1
- old
+ new
@@ -85,14 +85,9 @@
def self.db_time_now
Time.current
end
- def update_attributes(attrs = {})
- attrs.each { |k, v| send(:"#{k}=", v) }
- save
- end
-
def destroy
self.class.all.delete(self)
end
def save