module RSpec::ActiveJob
Constants
- VERSION
Public Instance Methods
deserialize_as(expected)
click to toggle source
# File lib/rspec/active_job.rb, line 21 def deserialize_as(expected) Matchers::DeserializeAs.new(expected) end
enqueue_a(job_class)
click to toggle source
# File lib/rspec/active_job.rb, line 7 def enqueue_a(job_class) Matchers::EnqueueA.new(job_class) end
global_id(expected)
click to toggle source
rubocop:enable Style/PredicateName
# File lib/rspec/active_job.rb, line 17 def global_id(expected) Matchers::GlobalID.new(expected) end
have_been_enqueued()
click to toggle source
rubocop:disable Style/PredicateName
# File lib/rspec/active_job.rb, line 12 def have_been_enqueued Matchers::EnqueueA.new end