CurrentUser: remove #as method.

Replace with CurrentUser#scoped.
This commit is contained in:
evazion
2021-06-22 23:39:30 -05:00
parent 7f0edc32dd
commit e5cfb7904c
11 changed files with 12 additions and 22 deletions

View File

@@ -60,7 +60,7 @@ class ActiveSupport::TestCase
end
def as(user, &block)
CurrentUser.as(user, &block)
CurrentUser.scoped(user, &block)
end
end