Skip to content
Browse files

Update Readme.md

.attach() expects field name followed by filename
  • Loading branch information...
1 parent 900b251 commit ff38163231d858fb67ba2ae51328392c75e0bd40 @petejkim petejkim committed Oct 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Readme.md
View
2 Readme.md
@@ -74,7 +74,7 @@ describe('GET /users', function(){
```js
request(app)
.post('/')
-.attach('test/fixtures/homeboy.jpg', 'avatar')
+.attach('avatar', 'test/fixtures/homeboy.jpg')
...
```

0 comments on commit ff38163

Please sign in to comment.
Something went wrong with that request. Please try again.