Skip to content

Commit 89a5673

Browse files
committed
Clear new authenticator cache between specs
1 parent b39c951 commit 89a5673

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/kracken/rspec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ def authenticate_user_with_token!
8282

8383
c.before do
8484
Kracken::Controllers::TokenAuthenticatable.clear_auth_cache
85+
Kracken::Authenticator.cache.clear
8586
Kracken::SpecHelper.current_user = nil
8687
end
8788
end

0 commit comments

Comments
 (0)