spec/support/backend_constants.rb in carrierwave_backgrounder-0.2.1 vs spec/support/backend_constants.rb in carrierwave_backgrounder-0.2.2

- old
+ new

@@ -4,11 +4,18 @@ class WorkQueue end end module Delayed - module Job + class Job + def self.column_names + %w(id priority attempts handler queue last_error run_at locked_at failed_at locked_by created_at updated_at) + end + + column_names.each do |column_name| + define_method(column_name) { nil } + end end end module Resque end @@ -38,7 +45,13 @@ module QC end module SuckerPunch class Queue + end +end + +module Rails + def self.logger + @logger ||= Object.new end end