spec/spec_helper.rb in httpi-2.0.0.rc1 vs spec/spec_helper.rb in httpi-2.0.0
- old
+ new
@@ -1,12 +1,16 @@
require "bundler"
-Bundler.require :default, :development
+Bundler.setup(:default, :development)
+require "httpi"
+
+require "rspec"
+require "mocha/api"
+
RSpec.configure do |config|
- config.include WebMock::API
config.mock_with :mocha
end
-HTTPI.log = false # disable for specs
+HTTPI.log = false
require "support/fixture"
require "support/matchers"