Sha256: 11678b67225726caa506058bbee655e8ece56b4ed1e3c8a4cefaca6310be78b8

Contents?: true

Size: 636 Bytes

Versions: 1

Compression:

Stored size: 636 Bytes

Contents

require File.expand_path '../../lib/vx/worker', __FILE__

Bundler.require(:test)
require 'rspec/autorun'
require 'vx/common/amqp/testing'
require 'vx/message/testing'

Dir[File.expand_path("../..", __FILE__) + "/spec/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :rr

  config.before(:each) do
    Vx::Common::AMQP::Testing.clear
    Vx::Worker.reset_config!

    Vx::Worker.configure do |c|
=begin
      c.docker.ssh.port = 2223
      c.docker.ssh.host = 'localhost'
      c.docker.create_options = {
        'PortSpecs' => ['2022:22']
      }
=end
    end
    Vx::Worker.initialize!
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vx-worker-0.3.0.pre1 spec/spec_helper.rb