FEATURE: Introduce API scopes for badges.

This commit is contained in:
Alan Guo Xiang Tan
2021-12-06 10:27:25 +08:00
parent f3508065a3
commit 44588255fc
3 changed files with 18 additions and 1 deletions

View File

@ -237,7 +237,7 @@ describe Admin::ApiController do
scopes = response.parsed_body['scopes']
expect(scopes.keys).to contain_exactly('topics', 'users', 'email', 'posts', 'uploads', 'global')
expect(scopes.keys).to contain_exactly('topics', 'users', 'email', 'posts', 'uploads', 'global', 'badges')
end
end
end