mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Privatize unneededly protected methods in Active Job tests
This commit is contained in:
parent
8e1da1188f
commit
7269d9de6a
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ module SneakersJobsManager
|
||||||
true
|
true
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
private
|
||||||
def bunny_publisher
|
def bunny_publisher
|
||||||
@bunny_publisher ||= begin
|
@bunny_publisher ||= begin
|
||||||
p = ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper.send(:publisher)
|
p = ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper.send(:publisher)
|
||||||
|
|
|
@ -17,7 +17,7 @@ module TestCaseHelpers
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
private
|
||||||
|
|
||||||
def jobs_manager
|
def jobs_manager
|
||||||
JobsManager.current_manager
|
JobsManager.current_manager
|
||||||
|
|
Loading…
Reference in a new issue