Skip to content

Commit

Permalink
Fix broken RoutingTests
Browse files Browse the repository at this point in the history
  • Loading branch information
wyi committed Nov 23, 2018
1 parent c8c3201 commit 063d4f6
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/RoutingTests.elm
Expand Up @@ -16,15 +16,15 @@ import Username exposing (Username)
fromUrl : Test
fromUrl =
describe "Route.fromUrl"
[ testUrl "" Root
, testUrl "#login" Login
, testUrl "#logout" Logout
, testUrl "#settings" Settings
, testUrl "#profile/foo" (Profile (usernameFromStr "foo"))
, testUrl "#register" Register
, testUrl "#article/foo" (Article (slugFromStr "foo"))
, testUrl "#editor" NewArticle
, testUrl "#editor/foo" (EditArticle (slugFromStr "foo"))
[ testUrl "" Home
, testUrl "login" Login
, testUrl "logout" Logout
, testUrl "settings" Settings
, testUrl "profile/foo" (Profile (usernameFromStr "foo"))
, testUrl "register" Register
, testUrl "article/foo" (Article (slugFromStr "foo"))
, testUrl "editor" NewArticle
, testUrl "editor/foo" (EditArticle (slugFromStr "foo"))
]


Expand Down

0 comments on commit 063d4f6

Please sign in to comment.