Feature #36320 » 0004-Fix-for-https-github.com-rails-rails-pull-48585.patch
| test/integration/api_test/projects_test.rb | ||
|---|---|---|
|
assert p = Project.find(1)
|
||
|
assert p.active?
|
||
|
end
|
||
|
def queue_adapter_for_test
|
||
|
ActiveJob::QueueAdapters::TestAdapter.new
|
||
|
end
|
||
|
end
|
||
| test/unit/jobs/destroy_project_job_test.rb | ||
|---|---|---|
|
)
|
||
|
end
|
||
|
end
|
||
|
def queue_adapter_for_test
|
||
|
ActiveJob::QueueAdapters::TestAdapter.new
|
||
|
end
|
||
|
end
|
||
| test/unit/jobs/destroy_projects_job_test.rb | ||
|---|---|---|
|
# frozen_string_literal: true
|
||
|
# Redmine - project management software
|
||
|
# Copyright (C) 2006- Jean-Philippe Lang
|
||
|
#
|
||
| ... | ... | |
|
)
|
||
|
end
|
||
|
end
|
||
|
def queue_adapter_for_test
|
||
|
ActiveJob::QueueAdapters::TestAdapter.new
|
||
|
end
|
||
|
end
|
||