Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve documentation re Matchers #22

Open
playfulThinking opened this issue Sep 29, 2015 · 0 comments
Open

improve documentation re Matchers #22

playfulThinking opened this issue Sep 29, 2015 · 0 comments

Comments

@playfulThinking
Copy link

Unless I missed it, the docs don't mention that to use the provided matchers, you have to

import ShouldI.Matchers.Context

When I don't, I get:

** (CompileError) test/server_test.exs:15: undefined function should_not_have_key/1
expanding macro: ShouldI.with/2
test/server_test.exs:5: ServerTests (module)
(elixir) lib/code.ex:363: Code.require_file/2
(elixir) lib/kernel/parallel_require.ex:50: anonymous fn/4 in Kernel.ParallelRequire.spawn_requires/5

Thanks for the great library!

Mike

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant