Skip to content

Commit

Permalink
Remove deprecated function from testing example
Browse files Browse the repository at this point in the history
byLabel has been deprecated, but is still used as an example.
  • Loading branch information
degustaf authored Aug 25, 2022
1 parent 337a992 commit 7721b65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yesod-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ spec = withApp $ do
addToken -- Add the CSRF _token field with the currently shown value.

-- Lookup field by the text on the labels pointing to them.
byLabel "Email:" "[email protected]"
byLabel "Password:" "secret"
byLabel "Confirm:" "secret"
byLabelExact "Email:" "[email protected]"
byLabelExact "Password:" "secret"
byLabelExact "Confirm:" "secret"

it "Sends another form, this one has a file" $ do
request $ do
Expand Down

0 comments on commit 7721b65

Please sign in to comment.