Commit 8e3d8bde authored by lain's avatar lain
Browse files

Fix user deactivation test.

parent 812f5b05
......@@ -41,7 +41,7 @@ test "follow takes a user and another user" do
test "can't follow a deactivated users" do
user = insert(:user)
followed = insert(:user, info: %{"deactivated" => true})
followed = insert(:user, info: %{deactivated: true})
{:error, _} = User.follow(user, followed)
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment