Skip to content

Commit

Permalink
Explain Joi.equal()
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmelnikow committed Apr 17, 2017
1 parent 5e9ec62 commit 555251d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vendor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,9 @@ Joi is a validation library that is build into IcedFrisby which you can use to
match based on a set of allowed strings, regexes, or specific values. You can
refer to their [API reference][Joi API].

Since we don't know whether rust will be passing or not at the time the test
runs, we use `Joi.equal()`, which accepts any of the values passed in.

Notice we don't have to specify `/travis` again, or even `localhost`. The test
runner handles that for us.

Expand Down

0 comments on commit 555251d

Please sign in to comment.