Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Call gomega.RegisterFailHandler to connect to ginkgo#132

Open
keymon wants to merge 1 commit intocloudfoundry-incubator:masterfrom
keymon:bugfix/omega_fail_handler
Open

Call gomega.RegisterFailHandler to connect to ginkgo#132
keymon wants to merge 1 commit intocloudfoundry-incubator:masterfrom
keymon:bugfix/omega_fail_handler

Conversation

@keymon
Copy link

@keymon keymon commented Apr 1, 2016

We must connect gomega with ginkgo in cf tests that use them, to avoid
the following error:

panic: You are trying to make an assertion, but Gomega's fail handler is nil.
If you're using Ginkgo then you probably forgot to put your assertion in an It().
Alternatively, you may have forgotten to register a fail handler with
RegisterFailHandler() or RegisterTestingT().

We must connect gomega with ginkgo in cf tests that use them, to avoid
the following error:

  panic: You are trying to make an assertion, but Gomega's fail handler is nil.
  If you're using Ginkgo then you probably forgot to put your assertion in an It().
  Alternatively, you may have forgotten to register a fail handler with
  RegisterFailHandler() or RegisterTestingT().
@cfdreddbot
Copy link

Hey keymon!

Thanks for submitting this pull request! I'm here to inform the recipients of the pull request that you've already signed the CLA.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants