Load puppet-openstack_spec_helper locally during tests

Change-Id: I9f6458fcea4b94e2f165cb9ac816241d248dca01
Co-Authored-By: Mohammed Naser <mnaser@vexxhost.com>
This commit is contained in:
ZhongShengping 2018-02-12 10:53:39 +08:00
parent 795e1804f1
commit aad542a66d

12
Gemfile

@ -1,9 +1,15 @@
source ENV['GEM_SOURCE'] || "https://rubygems.org"
group :development, :test, :system_tests do
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => false
if ENV['ZUUL_PROJECT'] == 'openstack/puppet-openstack_spec_helper'
gem 'puppet-openstack_spec_helper',
:path => '../..',
:require => 'false'
else
gem 'puppet-openstack_spec_helper',
:git => 'https://git.openstack.org/openstack/puppet-openstack_spec_helper',
:require => 'false'
end
end
if facterversion = ENV['FACTER_GEM_VERSION']