Rakefile in puppet-strings-2.1.0 vs Rakefile in puppet-strings-2.2.0
- old
+ new
@@ -1,8 +1,13 @@
require 'bundler/gem_tasks'
#require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.exclude_pattern = "spec/acceptance/**/*.rb"
+end
+
# Add our own tasks
require 'puppet-strings/tasks'
PuppetLint.configuration.send('disable_80chars')
PuppetLint.configuration.ignore_paths = %w(acceptance/**/*.pp spec/**/*.pp pkg/**/*.pp)