Merge branch 'jonas_master' into refactor_test_1

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-05-24 10:00:03 -03:00
12 changed files with 97 additions and 40 deletions

View File

@@ -43,6 +43,8 @@ func TestSessionNew(t *testing.T) {
assert.Nil(t, e)
assert.NotNil(t, s)
assert.Equal(t, "pwd", s.StackName)
assert.NotEmpty(t, s.Id)
assert.WithinDuration(t, s.CreatedAt, before, time.Since(before))
assert.WithinDuration(t, s.ExpiresAt, before.Add(time.Hour), time.Second)