Remove test based on window buffer stuff
This commit is contained in:
parent
8eea1b00ed
commit
a1fa21cbec
@ -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))
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user