added goalie creation to main menu
This commit is contained in:
@@ -54,6 +54,7 @@ spec = describe "Mtlstats.Actions" $ do
|
||||
updateGameStatsSpec
|
||||
validateGameDateSpec
|
||||
createPlayerSpec
|
||||
createGoalieSpec
|
||||
addPlayerSpec
|
||||
recordGoalAssistsSpec
|
||||
awardGoalSpec
|
||||
@@ -353,6 +354,12 @@ createPlayerSpec = describe "createPlayer" $
|
||||
s = createPlayer newProgState
|
||||
in show (s^.progMode) `shouldBe` "CreatePlayer"
|
||||
|
||||
createGoalieSpec :: Spec
|
||||
createGoalieSpec = describe "createGoalie" $
|
||||
it "should change the mode appropriately" $ let
|
||||
s = createGoalie newProgState
|
||||
in show (s^.progMode) `shouldBe` "CreateGoalie"
|
||||
|
||||
addPlayerSpec :: Spec
|
||||
addPlayerSpec = describe "addPlayer" $ do
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user