Added a client class to use in tests. Fixed one of the tests

Fixed


On Fri, Jul 11, 2014 at 11:23 AM, Henrik Rydgård <notifications@github.com>
wrote:

> In hub/hub_test.go:
>
> >
> >  	// Expect an
> >  	input_welcome := recv.Next(TypeWelcome)
> > -	assert.Equal(t, input_welcome.Welcome.Heartbeat, 5000, "Expected a hartbeat setting")
> > -	assert.Equal(t, input_welcome.Welcome.SessionTimeout, 30000, "Expected a hartbeat setting")
> > +	assert.Equal(t, input_welcome.Welcome.Heartbeat, 60000, "Expected a hartbeat setting")
>
> heartbeat not hartbeat
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/zond/pusher/pull/9/files#r14812917>.
>