Skip to content

Commit

Permalink
update Role.list_roles() to reflect that we have more roles (default …
Browse files Browse the repository at this point in the history
…roles) #86
  • Loading branch information
nelsonic committed Jul 25, 2020
1 parent 7a8d967 commit 3c1c720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/auth/role_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ defmodule Auth.RoleTest do

test "list_roles/0 returns all roles" do
role = role_fixture()
assert Role.list_roles() == [role]
assert Role.list_roles() |> List.last() == role
end

test "get_role!/1 returns the role with given id" do
Expand Down

0 comments on commit 3c1c720

Please sign in to comment.