Sha256: ce5222b943b8c95c0361f8c98ac158864512559e85791f622226345ab06326b1

Contents?: true

Size: 607 Bytes

Versions: 2

Compression:

Stored size: 607 Bytes

Contents

$LOAD_PATH.unshift(File.join(__FILE__, "..", "..", "lib"))

SPEC_DIR = File.dirname(__FILE__)
FIXTURES_DIR = File.join(SPEC_DIR, 'support', 'fixtures')

require 'rock_rms'
require 'webmock/rspec'
require_relative './support/fixtures_helper'
require_relative './support/rock_mock'
require_relative './support/client_factory'

RSpec.configure do |config|
  config.before :suite do
    WebMock.disable_net_connect!
  end

  config.before :each do
    stub_request(:any, /rock/).to_rack(RockMock)
  end

  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.order = 'random'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rock_rms-1.2.0 spec/spec_helper.rb
rock_rms-1.1.0 spec/spec_helper.rb