File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/test/groovy/com/rundeck/plugins/ansible/plugin Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -140,6 +140,9 @@ class AnsibleResourceModelSourceSpec extends Specification {
140
140
getBaseDir() >> Mock (File ) {
141
141
getAbsolutePath() >> ' /tmp'
142
142
}
143
+ getPropertyLookup() >> Mock (IPropertyLookup ){
144
+ getProperty(" framework.tmp.dir" ) >> ' /tmp'
145
+ }
143
146
}
144
147
ResourceModelSource plugin = new AnsibleResourceModelSource (framework)
145
148
Properties config = new Properties ()
@@ -167,6 +170,9 @@ class AnsibleResourceModelSourceSpec extends Specification {
167
170
getBaseDir() >> Mock (File ) {
168
171
getAbsolutePath() >> ' /tmp'
169
172
}
173
+ getPropertyLookup() >> Mock (IPropertyLookup ){
174
+ getProperty(" framework.tmp.dir" ) >> ' /tmp'
175
+ }
170
176
}
171
177
ResourceModelSource plugin = new AnsibleResourceModelSource (framework)
172
178
Properties config = new Properties ()
You can’t perform that action at this time.
0 commit comments