spec/spec_helper.rb in savon-0.8.0.beta.4 vs spec/spec_helper.rb in savon-0.8.0
- old
+ new
@@ -1,20 +1,14 @@
-require "rspec"
-require "mocha"
+require "bundler"
+Bundler.require :default, :development
-spec = File.expand_path("..", __FILE__)
-$:.unshift spec unless $:.include? spec
-
RSpec.configure do |config|
config.mock_with :mocha
end
require "savon"
# Disable logging for specs.
Savon.log = false
-# Requires fixtures.
-Dir[File.expand_path("../fixtures/**/*.rb", __FILE__)].each { |file| require file }
-
-# Requires supporting files.
require "support/endpoint"
+require "support/fixture"