diff options
-rw-r--r-- | spec/util_roles_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_roles_spec.lua b/spec/util_roles_spec.lua index 81723657..44d2a977 100644 --- a/spec/util_roles_spec.lua +++ b/spec/util_roles_spec.lua @@ -26,7 +26,7 @@ describe("util.roles", function () id = "test-role-2"; name = "Test Role 2"; }); - assert.truthy(tostring(test_role_2):find("test-role-2", 1, true)); + assert.truthy(tostring(test_role_2):find(test_role_2.id, 1, true)); assert.truthy(tostring(test_role_2):find("Test Role 2", 1, true)); end); it("is restrictive by default", function () |