File tree 5 files changed +10
-3
lines changed
5 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ GetText:
26
26
GetText/DecorateString :
27
27
Description : We don't want to decorate test output.
28
28
Exclude :
29
- - spec/*
29
+ - spec/**/*
30
30
RSpec/BeforeAfterAll :
31
31
Description : Beware of using after(:all) as it may cause state to leak between tests.
32
32
A necessary evil in acceptance testing.
Original file line number Diff line number Diff line change 1
1
---
2
+ dist : xenial
2
3
language : ruby
3
4
cache : bundler
4
5
before_install :
Original file line number Diff line number Diff line change
1
+ require 'puppet_litmus/rake_tasks' if Bundler . rubygems . find_name ( 'puppet_litmus' ) . any?
1
2
require 'puppetlabs_spec_helper/rake_tasks'
2
3
require 'puppet-syntax/tasks/puppet-syntax'
3
4
require 'puppet_blacksmith/rake_tasks' if Bundler . rubygems . find_name ( 'puppet-blacksmith' ) . any?
Original file line number Diff line number Diff line change 67
67
}
68
68
],
69
69
"description" : " Tasks that manipulate a service" ,
70
- "pdk-version" : " 1.10.0 " ,
70
+ "pdk-version" : " 1.11.1 " ,
71
71
"template-url" : " https://github.com/puppetlabs/pdk-templates#master" ,
72
- "template-ref" : " heads/master-0-g7827fc2 "
72
+ "template-ref" : " heads/master-0-gb096033 "
73
73
}
Original file line number Diff line number Diff line change 29
29
end
30
30
end
31
31
32
+ # read default_facts and merge them over what is provided by facterdb
33
+ default_facts . each do |fact , value |
34
+ add_custom_fact fact , value
35
+ end
36
+
32
37
RSpec . configure do |c |
33
38
c . default_facts = default_facts
34
39
c . before :each do
You can’t perform that action at this time.
0 commit comments