Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
collect: Rename specs to clarify intent of testing
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Sadler <ansadler@redhat.com>
  • Loading branch information
sadlerap committed Sep 7, 2021
1 parent 5b66fa5 commit 90cf30f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion pkg/reconcile/pipeline/handler/collect/impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const (
ErrorReadingDescriptorReason = "ErrorReadingDescriptor"
ErrorReadingBindingReason = "ErrorReadingBinding"
ErrorReadingSecret = "ErrorReadingSecret"
ValueNotFound = "ValueNotFound"

ValueNotFound = "ValueNotFound"
)

func PreFlight(ctx pipeline.Context) {
Expand Down
5 changes: 2 additions & 3 deletions pkg/reconcile/pipeline/handler/collect/impl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1030,8 +1030,7 @@ var _ = Describe("Integration Collect definitions + items", func() {

})

// TODO: spec title should be rephrased: should we have one spec for regression tests?
var _ = Describe("Issue 943", func() {
var _ = Describe("Handle invalid sliceOfMap annotations", func() {
var (
mockCtrl *gomock.Controller
)
Expand All @@ -1051,7 +1050,7 @@ var _ = Describe("Issue 943", func() {
configMaps map[string]*unstructured.Unstructured
}

It("retrieve binding data",
It("should set an error condition",
func() {
tc := testCase{
serviceContent: map[string]interface{}{
Expand Down

0 comments on commit 90cf30f

Please sign in to comment.