Sha256: a2a6943be82765e3502e5137c2732b74d4e2e8011deec1c8e4a2ef3bbc1ed38e

Contents?: true

Size: 860 Bytes

Versions: 2

Compression:

Stored size: 860 Bytes

Contents

# Configure Rails Envinronment
ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"
require "rspec/rails"

Rails.backtrace_cleaner.remove_silencers!

# Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  # Remove this line if you don't want RSpec's should and should_not
  # methods or matchers
  require 'rspec/expectations'
  config.include RSpec::Matchers

  # == Mock Framework
  config.mock_with :rspec
end

Savon.configure do |config|
  config.log = false            # disable logging
end

HTTPI.logger = Logger.new(open("/dev/null", 'w'))
HTTPI.adapter = :rack

Dummy::Application.routes.draw do
  wash_out :api
end

def savon_instance
  Savon::Client.new do
    wsdl.document = 'http://dummy/api/wsdl'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wash_out-0.2.1 spec/spec_helper.rb
wash_out-0.2.0 spec/spec_helper.rb