Skip to content

Commit

Permalink
fix: don't duplicate ability name in expression test
Browse files Browse the repository at this point in the history
Signed-off-by: Lucian Buzzo <lucian.buzzo@gmail.com>
  • Loading branch information
LucianBuzzo committed Jan 9, 2024
1 parent 88127ec commit 59db403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/expressions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ describe("expressions", () => {
customAbilities: {
Post: {
customCreateAbility: {
description: "Create posts where there is already a tag label with the same title",
description: "Create posts where there is already a tag label with the same title from a known set",
operation: "INSERT",
expression: (client: PrismaClient, _row, context) => {
return client.tag.findFirst({
Expand Down

0 comments on commit 59db403

Please sign in to comment.