Skip to content

Commit

Permalink
Use the Que::Adapters::Base class to get default (no-op) implementati…
Browse files Browse the repository at this point in the history
…ons of required methods. (statianzo#2)
  • Loading branch information
joehorsnell authored and statianzo committed Apr 28, 2016
1 parent 2731eec commit 80ccafe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/que/testing/adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Testing
class JobParams < Struct.new(:queue, :priority, :run_at, :job_class, :args)
end

class Adapter
class Adapter < Que::Adapters::Base
def checkout(&block)
end

Expand Down

0 comments on commit 80ccafe

Please sign in to comment.