Since Code.get_docs/2 is deprecated and returns nil whenever called in elixir 1.7+ all doc tests will fail with the error
** (ESpec.DocExample.Error) could not retrieve the documentation for module [MODULE_NAME].
The module was not compiled with documentation or its beam file cannot be accessed
In order to support doctests ESpec need to use the newer format retrieved via Code.fetch_docs/1 when elixir 1.7+ is used.
Since
Code.get_docs/2
is deprecated and returnsnil
whenever called in elixir 1.7+ all doc tests will fail with the errorIn order to support doctests ESpec need to use the newer format retrieved via
Code.fetch_docs/1
when elixir 1.7+ is used.