Skip to content

Commit

Permalink
Merge pull request #348 from peletiah/master
Browse files Browse the repository at this point in the history
Incorrect attribute 'validator' replaced with 'validators'
  • Loading branch information
almet committed Feb 3, 2016
2 parents 280601b + 2ddadb0 commit 3975c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Let's suppose you have this service definition::
request.errors.add('body', 'paid', 'You must pay!')


@service.get(validator=has_payed)
@service.get(validators=has_payed)
def get1(request):
return {"test": "succeeded"}

Expand Down

0 comments on commit 3975c49

Please sign in to comment.