using circle as my tester

This commit is contained in:
ryan 2018-03-22 19:39:30 +01:00
parent db91033b6e
commit fa021b547a

View File

@ -81,9 +81,9 @@ func TestAnnotations(t *testing.T) {
}) })
Convey("Has created and updated values", func() { Convey("Has created and updated values", func() {
So(items[0].created, ShouldBeGreaterThan, 0) So(items[0].Created, ShouldBeGreaterThan, 0)
So(items[0].updated, ShouldBeGreaterThan, 0) So(items[0].Updated, ShouldBeGreaterThan, 0)
So(items[0].created, ShouldBeEqual, items[1].created) So(items[0].Updated, ShouldBeEqual, items[1].Created)
}) })
}) })
@ -239,7 +239,7 @@ func TestAnnotations(t *testing.T) {
}) })
Convey("Updated time has increased", func() { Convey("Updated time has increased", func() {
So(items[0].updated, ShouldBeGreaterThan, items[0].created) So(items[0].Updated, ShouldBeGreaterThan, items[0].Created)
}) })
}) })