Remove find_spec_utils
This spec_helper was causing failurs and was not actually even used for anything. Removing it resolves the issues with running spec tests.
This commit is contained in:
parent
09ec8693a9
commit
3aed1519aa
spec
@ -1,14 +0,0 @@
|
|||||||
def find_puppet_spec()
|
|
||||||
puppetdir = $LOAD_PATH.detect do |file|
|
|
||||||
File.directory?(File.join(file, 'puppet')) &&
|
|
||||||
File.directory?(File.join(file, '../spec/lib'))
|
|
||||||
end
|
|
||||||
raise Exception, "could not find puppet spec lib" unless puppetdir
|
|
||||||
$LOAD_PATH.unshift(File.join(puppetdir, '../spec/lib'))
|
|
||||||
$LOAD_PATH.unshift(File.join(puppetdir, '../spec'))
|
|
||||||
require File.join(puppetdir, '../spec/spec_helper')
|
|
||||||
end
|
|
||||||
find_puppet_spec
|
|
||||||
require 'puppet_spec/files'
|
|
||||||
include PuppetSpec
|
|
||||||
include PuppetSpec::Files
|
|
@ -1,4 +1,3 @@
|
|||||||
require File.join(File.dirname(__FILE__), '../../find_spec_utils.rb')
|
|
||||||
require 'puppet'
|
require 'puppet'
|
||||||
require 'puppet/type/nova_config'
|
require 'puppet/type/nova_config'
|
||||||
describe 'Puppet::Type.type(:nova_config)' do
|
describe 'Puppet::Type.type(:nova_config)' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user