Testing some keystone types alone fails

Add the same spec_helper and LOAD_PATH hacks from keystone_paste_ini_spec
to keystone_config_spec
Closes-Bug: 1491812

Change-Id: Ic1c782ad8bfaa1ffef8a4df46f8b8e36024a3941
This commit is contained in:
Rich Megginson 2016-01-14 09:31:44 -07:00
parent 4d1fd0ea3b
commit e2792e6b57
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,16 @@
require 'spec_helper'
# this hack is required for now to ensure that the path is set up correctly
# to retrive the parent provider
$LOAD_PATH.push(
File.join(
File.dirname(__FILE__),
'..',
'..',
'fixtures',
'modules',
'inifile',
'lib')
)
require 'puppet'
require 'puppet/type/keystone_config'