Fix TeamCity incompatibility #144

Merged
merged 1 commit into from Jan 4, 2012

Projects

None yet

3 participants

@twobitlabs

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
Owner
bblimke commented Jan 4, 2012

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

@bblimke bblimke merged commit 8585a5d into bblimke:master Jan 4, 2012
@twobitlabs

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