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

Turn off rakismet in tests #26

Closed
arashm opened this issue Dec 3, 2012 · 1 comment
Closed

Turn off rakismet in tests #26

arashm opened this issue Dec 3, 2012 · 1 comment

Comments

@arashm
Copy link

arashm commented Dec 3, 2012

Is it possible to turnoff rakismet in tests so that it wouldn't connect to akismet for real, and just return what I explicitly want?

@joshfrench
Copy link
Owner

Hi Arash! Have you thought about using something like WebMock to stub requests in test mode? It's a better solution than anything I would write for Rakismet :)

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

2 participants