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

Mocking Calls for faster tests execution #63

Closed
mhaseebkhan opened this issue Aug 26, 2013 · 2 comments
Closed

Mocking Calls for faster tests execution #63

mhaseebkhan opened this issue Aug 26, 2013 · 2 comments

Comments

@mhaseebkhan
Copy link

I am working on a Rails Project which needs integration with Flickr to get most recent public images. I am using flickraw for Flickr integration. In order to develop rspec tests and cucumber features, I need to mock Flickr Calls to avoid web calls and I found takaltoo/flickrmocks.

Flickr has updated their APIs, however, takaltoo/flickrmocks doesn't seem to be updated as per the new API specifications.

Is there any way I can do some mocking using flickraw itself. There is a way to mock the underlying web calls and return the expected response. Just looking for a clean and better way.

@hanklords
Copy link
Owner

There is no integrated way to do mocking in flickraw. You are on your own for this.

@Spaceghost
Copy link

You can use things like VCR for this.

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

3 participants