Remove test based on window buffer stuff

This commit is contained in:
Edvard 2019-01-31 16:39:29 +01:00
parent 8eea1b00ed
commit a1fa21cbec

View File

@ -1,8 +1,6 @@
package history_test
import (
"bytes"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
@ -34,15 +32,4 @@ var _ = Describe("Validation window", func() {
Expect(numberOfBlocksCreated).To(Equal(expected))
})
It("logs window message", func() {
expectedMessage := &bytes.Buffer{}
window := history.ValidationWindow{LowerBound: 5, UpperBound: 7}
history.ParsedWindowTemplate.Execute(expectedMessage, window)
actualMessage := &bytes.Buffer{}
window.Log(actualMessage)
Expect(actualMessage).To(Equal(expectedMessage))
})
})