aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-01-26 13:42:50 -0800
committerDoug Black <dblack@twilio.com>2014-01-26 13:42:50 -0800
commit5a10edcd157f6a1d16dea18f137ae6f5a87d5001 (patch)
tree39e26745572f62c9a406038281b16879fa76834b /tests
parentfix signature (diff)
downloadsleepy-5a10edcd157f6a1d16dea18f137ae6f5a87d5001.tar.gz
sleepy-5a10edcd157f6a1d16dea18f137ae6f5a87d5001.tar.bz2
sleepy-5a10edcd157f6a1d16dea18f137ae6f5a87d5001.zip
fixes from issues
Diffstat (limited to 'tests')
-rw-r--r--tests/items.go4
-rw-r--r--tests/test.go4
2 files changed, 2 insertions, 6 deletions
diff --git a/tests/items.go b/tests/items.go
index d39cae9..978b052 100644
--- a/tests/items.go
+++ b/tests/items.go
@@ -6,9 +6,7 @@ import (
)
type Item struct {
- sleepy.PostNotSupported
- sleepy.PutNotSupported
- sleepy.DeleteNotSupported
+ sleepy.BaseResource
}
func (item Item) Get(values url.Values) (int, interface{}) {
diff --git a/tests/test.go b/tests/test.go
index 070d4b6..d3f414c 100644
--- a/tests/test.go
+++ b/tests/test.go
@@ -6,9 +6,7 @@ import (
)
type Bar struct {
- sleepy.PostNotSupported
- sleepy.PutNotSupported
- sleepy.DeleteNotSupported
+ sleepy.BaseResource
}
func (b Bar) Get(values url.Values) (int, interface{}) {
bgstack15