1
0
Fork 0
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:
Akira Matsuda 2016-12-23 23:42:36 +09:00
parent 8e1da1188f
commit 7269d9de6a
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ module SneakersJobsManager
true
end
protected
private
def bunny_publisher
@bunny_publisher ||= begin
p = ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper.send(:publisher)

View file

@ -17,7 +17,7 @@ module TestCaseHelpers
end
end
protected
private
def jobs_manager
JobsManager.current_manager