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

Assert a Segment call #36

Open
rlopzc opened this issue Sep 20, 2021 · 0 comments
Open

Assert a Segment call #36

rlopzc opened this issue Sep 20, 2021 · 0 comments

Comments

@rlopzc
Copy link

rlopzc commented Sep 20, 2021

Hello! Thanks for this lib, very much needed

Is there a way to assert in a test that a call was made to Segment?

I tried using send_to_http: false but the debug log level is not recorded in the test environment. Changing it in config/test.exs doesn't make sense because ecto also uses debug level for queries which makes it hard to assert for the Segment debug log.

Thanks!

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