Sha256: cf1ea93f67f016a3749c7e7ff407d3c3c5e91fd4dadf2ca0b6b28ec325a01f54

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

ENV['ENVIRONMENT'] = 'test'

require 'odania'
require_relative 'support/consul_mock'


RSpec.configure do |config|
	config.before(:each) do
		$consul_mock = ConsulMock.new


		allow(Odania).to receive(:plugin) do
			Odania::Plugin.new($consul_mock)
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
odania-0.0.18 spec/spec_helper.rb
odania-0.0.17 spec/spec_helper.rb