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

Replace deprecated stub call with double #96

Merged
merged 1 commit into from Apr 27, 2014

Conversation

andymorris
Copy link
Contributor

Newer versions of rspec-mocks have deprecated stub in favor of double, resulting in warning messages when using stub_db in apps that use couch_potato (see rspec/rspec-mocks#233).

After simply swapping out stub for double in stub_db, all specs still pass and everything appears fine, and the warnings are gone.

@langalex
Copy link
Owner

any idea which version of rspec first supported double so we can tighten the version requirement in them gemspec?

@andymorris
Copy link
Contributor Author

Not positive but it looks like 2.0.0? rspec/rspec-mocks@8dbafaf

langalex added a commit that referenced this pull request Apr 27, 2014
Replace deprecated stub call with double
@langalex langalex merged commit d55af8b into langalex:master Apr 27, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants