@@ -16,7 +16,7 @@ defmodule PointingParty.VoteCalculatorTest do
1616 end
1717
1818 property "winning value is a list or a integer" , % { user: user } do
19- check all ( users <- user ) do
19+ check all users <- user do
2020 { _event , winner } = PointingParty.VoteCalculator . calculate_votes ( users )
2121 assert is_list ( winner ) || is_integer ( winner )
2222 end
@@ -25,7 +25,7 @@ defmodule PointingParty.VoteCalculatorTest do
2525 property "tie when winning value is a list, winner when winning value is an integer" , % {
2626 user: user
2727 } do
28- check all ( users <- user ) do
28+ check all users <- user do
2929 { event , winner } = PointingParty.VoteCalculator . calculate_votes ( users )
3030
3131 cond do
@@ -39,7 +39,7 @@ defmodule PointingParty.VoteCalculatorTest do
3939 end
4040
4141 property "the winning value is not more than the highest point value" , % { user: user } do
42- check all ( users <- user ) do
42+ check all users <- user do
4343 { _event , winner } = PointingParty.VoteCalculator . calculate_votes ( users )
4444
4545 max_vote =
@@ -58,7 +58,7 @@ defmodule PointingParty.VoteCalculatorTest do
5858 end
5959
6060 property "when the winner is a list of two sorted values" , % { user: user } do
61- check all ( users <- user ) do
61+ check all users <- user do
6262 { _event , winner } = PointingParty.VoteCalculator . calculate_votes ( users )
6363
6464 if is_list ( winner ) do
0 commit comments