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

Fix TeamCity incompatibility #144

Merged
merged 1 commit into from Jan 4, 2012
Merged

Fix TeamCity incompatibility #144

merged 1 commit into from Jan 4, 2012

Conversation

twobitlabs
Copy link

Rspecs using webmock fail when run on TeamCity servers. This should probably be fixed on the TeamCity side, but this patch seems reasonable and works. See http://www.coding4streetcred.com/blog/post/Issue-RubyMine-31-Webmock-162-and-“Specconfigure”-curse.aspx for a more detailed explanation of what's going on.

@bblimke
Copy link
Owner

bblimke commented Jan 4, 2012

Thank you for this fix! Great that defined?(Spec.configure) solves the problem.

@bblimke bblimke closed this Jan 4, 2012
bblimke added a commit that referenced this pull request Jan 4, 2012
Fix TeamCity incompatibility
@bblimke bblimke merged commit 8585a5d into bblimke:master Jan 4, 2012
@twobitlabs
Copy link
Author

Thanks for the quick version update! I've verified that it's working in TeamCity now when I include:

gem "webmock", ">= 1.7.10", :group => [:test]

in my Gemfile.

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

3 participants