Sha256: d03ee8fd349b79d85178517a10a34cf65f319df8e66f646da758e29583675f21

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

RSpec.configure do |config|
  config.before(:each) do |example|
    ActiveJob::Base.queue_adapter = :test
    queue_adapter = ActiveJob::Base.queue_adapter

    queue_adapter.perform_enqueued_jobs = !!example.metadata[:perform_jobs]

    queue_adapter.perform_enqueued_at_jobs = (example.metadata[:perform_jobs] &&
                                              example.metadata[:perform_jobs] != :except_enqued_at)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pageflow-linkmap-page-2.10.0 spec/support/config/active_job.rb
pageflow-linkmap-page-2.9.0 spec/support/config/active_job.rb
pageflow-linkmap-page-2.8.0 spec/support/config/active_job.rb
pageflow-linkmap-page-2.7.1 spec/support/config/active_job.rb
pageflow-linkmap-page-2.7.0 spec/support/config/active_job.rb
pageflow-linkmap-page-2.6.1 spec/support/config/active_job.rb
pageflow-linkmap-page-2.6.0 spec/support/config/active_job.rb
pageflow-linkmap-page-2.5.0 spec/support/config/active_job.rb