module-puppetlabs-mysql/spec/spec_helper.rb
Carl Caum e3b9fd90a6 (#11508) Only load sql_scripts on DB creation
Previous to this commit, if the sql parameter was provided to a
declaration of the mysql::db defined type, the defined type would always
load the sql script on every catalog run. This changes the exec that
loads that sql script to be refreshonly unless the enforce_sql parameter
is set to true.
2011-12-19 07:25:35 -08:00

7 lines
149 B
Ruby

require 'puppet'
require 'rubygems'
require 'rspec-puppet'
RSpec.configure do |c|
c.module_path = File.join(File.dirname(__FILE__), '../../')
end