Fix TeamCity incompatibility #144

merged 1 commit into from Jan 4, 2012


None yet

3 participants


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“Specconfigure”-curse.aspx for a more detailed explanation of what's going on.

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

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