Use my own library name
Move library to a new home (aka fork) instead of using my own
branch of gondole, which isn't very convenient and can be confusing.
package gondole
import (
"testing"
"github.com/sendgrid/rest"
"github.com/stretchr/testify/assert"
)
func TestPrepareRequest(t *testing.T) {
g := &Client{
Name: "foo",
ID: "666",
Secret: "biiiip",
APIBase: "http://example.com",
}
req, err := g.prepareRequest("bar", rest.Get, nil)
assert.NoError(t, err, "no error")
assert.NotNil(t, req.Headers, "not nil")
}