aboutsummaryrefslogtreecommitdiff
path: root/tests/test.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-27 23:33:11 -0500
committerDoug Black <dblack@twilio.com>2014-01-27 23:33:11 -0500
commit77816cdb2c0ca37b6ce62428f642dac4fd853a39 (patch)
tree50e29fe7f9e04ad8f061f5a2d129ac1cee2766ef /tests/test.go
parentfixes suggested by @macu (diff)
downloadsleepy-77816cdb2c0ca37b6ce62428f642dac4fd853a39.tar.gz
sleepy-77816cdb2c0ca37b6ce62428f642dac4fd853a39.tar.bz2
sleepy-77816cdb2c0ca37b6ce62428f642dac4fd853a39.zip
support adding one resource on multiple paths
Diffstat (limited to 'tests/test.go')
-rw-r--r--tests/test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test.go b/tests/test.go
index 6e0d936..b316043 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -19,7 +19,7 @@ func main() {
item := new(Item)
var api = sleepy.NewAPI()
- api.AddResource(item, "/items")
+ api.AddResource(item, "/items", "/bar", "/baz")
api.Start(3000)
}
bgstack15