Not sure if it actually works at mocking, I just moved the mocks around so it can be required without crashing.
This makes it much easier moving using motions and editing files in a number of editors.
This spec was ripped straight from Bundler (https://github.com/carlhuda/bundler/blob/1-0-stable/spec/quality_spec.rb)
Webmock doesn't work with addressable-2.2.5 and a new version, 2.2.6, has been released to help with this. Change Webmock's dependency to that version or higher.
- Describe how to create a gemset for each supported Ruby version - A rake task to run specs via RVM's exec command - Add a link to the contributors page Running `rake spec:rubies` will use RVM's exec to run specs against MRI 1.8.6, 1.8.7 and 1.9.2, Ruby Enterprise Edition and jRuby.
After a request, Curl::Easy#content_type returns the value of the "Content-Type" header from the response. Previously, using Curl::Easy with Webmock resulted in that method always returning nil. This patch makes Webmock set that value correctly.
…anymore. #content seems to be available in both new and older versions.
…nage dev dependencies for this project.