Drop the need for access tokens to have a session
This commit is contained in:
committed by
Stanko K.R.
parent
660fcff558
commit
895b0e13b8
@@ -1,8 +1,4 @@
|
||||
require "test_helper"
|
||||
|
||||
class Identity::AccessTokenTest < ActiveSupport::TestCase
|
||||
test "new access token comes with a session" do
|
||||
access_token = identities(:david).access_tokens.create!
|
||||
assert_equal "Access Token", identities(:david).sessions.last.user_agent
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user