aboutsummaryrefslogtreecommitdiff
path: root/core_test.go
diff options
context:
space:
mode:
authorDoug Black <dblack@twilio.com>2014-03-29 23:52:47 -0700
committerDoug Black <dblack@twilio.com>2014-03-29 23:52:47 -0700
commit2594e806e98e542a71ba3602a681385c195cad7f (patch)
treec077a1242bb39a466c061380bb9e3f757b95ded0 /core_test.go
parentadd test make target (diff)
downloadsleepy-2594e806e98e542a71ba3602a681385c195cad7f.tar.gz
sleepy-2594e806e98e542a71ba3602a681385c195cad7f.tar.bz2
sleepy-2594e806e98e542a71ba3602a681385c195cad7f.zip
fix test and remove script directory
Diffstat (limited to 'core_test.go')
-rw-r--r--core_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core_test.go b/core_test.go
index d0b17e9..2438b98 100644
--- a/core_test.go
+++ b/core_test.go
@@ -1,7 +1,6 @@
package sleepy
import (
- "github.com/dougblack/sleepy"
"io/ioutil"
"net/http"
"net/url"
@@ -20,7 +19,7 @@ func TestBasicGet(t *testing.T) {
item := new(Item)
- var api = sleepy.NewAPI()
+ var api = NewAPI()
api.AddResource(item, "/items", "/bar", "/baz")
go api.Start(3000)
resp, err := http.Get("http://localhost:3000/items")
bgstack15