Sha256: 1d7d93b05937d7a1604e11bbf6cb0da31ae50d34d9c08b581f9b8709974edc89
Contents?: true
Size: 435 Bytes
Versions: 16
Compression:
Stored size: 435 Bytes
Contents
module ResqueSpec module Helpers def with_resque original = ResqueSpec.inline begin ResqueSpec.inline = true yield ensure ResqueSpec.inline = original end end def without_resque_spec original = ResqueSpec.disable_ext begin ResqueSpec.disable_ext = true yield ensure ResqueSpec.disable_ext = original end end end end
Version data entries
16 entries across 16 versions & 2 rubygems