Skip to content

Commit ad4fd79

Browse files
committed
client: converted all TODOs test to pending specs
1 parent 4ef4287 commit ad4fd79

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

pkg/client/client_test.go

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ var _ = Describe("Client", func() {
145145
close(done)
146146
})
147147

148-
It("should use the provided Mapper if provided", func() {
148+
PIt("should use the provided Mapper if provided", func() {
149149

150150
})
151151

@@ -269,7 +269,7 @@ var _ = Describe("Client", func() {
269269
Expect(err.Error()).To(ContainSubstring("no kind is registered for the type"))
270270
})
271271

272-
It("should fail if the GVK cannot be mapped to a Resource", func() {
272+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
273273
// TODO(seans3): implement these
274274
// Example: ListOptions
275275
})
@@ -360,11 +360,11 @@ var _ = Describe("Client", func() {
360360
close(done)
361361
})
362362

363-
It("should fail if the object does not pass server-side validation", func() {
363+
PIt("should fail if the object does not pass server-side validation", func() {
364364

365365
})
366366

367-
It("should fail if the object doesn't have meta", func() {
367+
PIt("should fail if the object doesn't have meta", func() {
368368

369369
})
370370

@@ -388,7 +388,7 @@ var _ = Describe("Client", func() {
388388
close(done)
389389
})
390390

391-
It("should fail if the GVK cannot be mapped to a Resource", func() {
391+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
392392

393393
})
394394
})
@@ -497,11 +497,11 @@ var _ = Describe("Client", func() {
497497
close(done)
498498
})
499499

500-
It("should fail if the GVK cannot be mapped to a Resource", func() {
500+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
501501

502502
})
503503

504-
It("should fail if an API does not implement Status subresource", func() {
504+
PIt("should fail if an API does not implement Status subresource", func() {
505505

506506
})
507507
})
@@ -586,7 +586,7 @@ var _ = Describe("Client", func() {
586586
close(done)
587587
})
588588

589-
It("should fail if the object doesn't have meta", func() {
589+
PIt("should fail if the object doesn't have meta", func() {
590590

591591
})
592592

@@ -609,7 +609,7 @@ var _ = Describe("Client", func() {
609609
close(done)
610610
})
611611

612-
It("should fail if the GVK cannot be mapped to a Resource", func() {
612+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
613613

614614
})
615615
})
@@ -724,7 +724,7 @@ var _ = Describe("Client", func() {
724724
close(done)
725725
})
726726

727-
It("should fail if the object doesn't have meta", func() {
727+
PIt("should fail if the object doesn't have meta", func() {
728728

729729
})
730730

@@ -747,7 +747,7 @@ var _ = Describe("Client", func() {
747747
Expect(err.Error()).To(ContainSubstring("no kind is registered for the type"))
748748
})
749749

750-
It("should fail if the GVK cannot be mapped to a Resource", func() {
750+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
751751

752752
})
753753
})
@@ -961,19 +961,19 @@ var _ = Describe("Client", func() {
961961
close(done)
962962
}, serverSideTimeoutSeconds)
963963

964-
It("should fail if it cannot get a client", func() {
964+
PIt("should fail if it cannot get a client", func() {
965965

966966
})
967967

968-
It("should fail if the object doesn't have meta", func() {
968+
PIt("should fail if the object doesn't have meta", func() {
969969

970970
})
971971

972-
It("should fail if the object cannot be mapped to a GVK", func() {
972+
PIt("should fail if the object cannot be mapped to a GVK", func() {
973973

974974
})
975975

976-
It("should fail if the GVK cannot be mapped to a Resource", func() {
976+
PIt("should fail if the GVK cannot be mapped to a Resource", func() {
977977

978978
})
979979
})

0 commit comments

Comments
 (0)