Skip to content

Commit

Permalink
Update usage of renamed method in devise_token_auth gem
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-ferrandis committed Dec 1, 2023
1 parent 3445888 commit 56adc3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/api_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def api_auth_headers_for_agent(agent)
token = DeviseTokenAuth::TokenFactory.create
agent_with_token_auth.tokens[token.client] = { token: token.token_hash, expiry: token.expiry }
save_without_validating_roles(agent_with_token_auth)
agent_with_token_auth.build_auth_header(token.token, token.client)
agent_with_token_auth.build_auth_headers(token.token, token.client)
end

def parsed_response_body
Expand Down

0 comments on commit 56adc3e

Please sign in to comment.