@@ -118,15 +118,7 @@ def install_script(ver, arch)
118118
119119 context 'when Solaris 11 i386 and a custom source' do
120120 let ( :facts ) do
121- override_facts ( facts , {
122- is_pe : true ,
123- os : {
124- release : {
125- major : '11' ,
126- } ,
127- } ,
128- platform_tag : 'solaris-11-i386' ,
129- } )
121+ override_facts ( facts , is_pe : true , os : { release : { major : '11' , } , } , platform_tag : 'solaris-11-i386' )
130122 end
131123 let ( :params ) do
132124 {
@@ -146,15 +138,7 @@ def install_script(ver, arch)
146138
147139 context 'when Solaris 11 i386' do
148140 let ( :facts ) do
149- override_facts ( facts , {
150- is_pe : true ,
151- os : {
152- release : {
153- major : '11' ,
154- } ,
155- } ,
156- platform_tag : 'solaris-11-i386' ,
157- } )
141+ override_facts ( facts , is_pe : true , os : { release : { major : '11' , } , } , platform_tag : 'solaris-11-i386' )
158142 end
159143
160144 it { is_expected . to compile . with_all_deps }
@@ -211,16 +195,7 @@ def install_script(ver, arch)
211195
212196 context 'when Solaris 11 sparc sun4u' do
213197 let ( :facts ) do
214- override_facts ( facts , {
215- is_pe : true ,
216- os : {
217- architecture : 'sun4u' ,
218- release : {
219- major : '11' ,
220- } ,
221- } ,
222- platform_tag : 'solaris-11-sparc' ,
223- } )
198+ override_facts ( facts , is_pe : true , os : { architecture : 'sun4u' , release : { major : '11' , } , } , platform_tag : 'solaris-11-sparc' )
224199 end
225200
226201 it { is_expected . to compile . with_all_deps }
@@ -276,15 +251,7 @@ def install_script(ver, arch)
276251
277252 context 'when Solaris 10 i386 and a custom source' do
278253 let ( :facts ) do
279- override_facts ( facts , {
280- is_pe : true ,
281- os : {
282- release : {
283- major : '10' ,
284- } ,
285- } ,
286- platform_tag : 'solaris-10-i386' ,
287- } )
254+ override_facts ( facts , is_pe : true , os : { release : { major : '10' , } , } , platform_tag : 'solaris-10-i386' )
288255 end
289256 let ( :params ) do
290257 {
@@ -304,15 +271,7 @@ def install_script(ver, arch)
304271
305272 context 'when Solaris 10 i386' do
306273 let ( :facts ) do
307- override_facts ( facts , {
308- is_pe : true ,
309- os : {
310- release : {
311- major : '10' ,
312- } ,
313- } ,
314- platform_tag : 'solaris-10-i386' ,
315- } )
274+ override_facts ( facts , is_pe : true , os : { release : { major : '10' , } , } , platform_tag : 'solaris-10-i386' )
316275 end
317276
318277 it { is_expected . to compile . with_all_deps }
@@ -337,16 +296,7 @@ def install_script(ver, arch)
337296
338297 context 'with older aio_agent_version' do
339298 let ( :facts ) do
340- override_facts ( facts , {
341- aio_agent_version : '1.0.0' ,
342- is_pe : true ,
343- os : {
344- release : {
345- major : '10' ,
346- } ,
347- } ,
348- platform_tag : 'solaris-10-i386' ,
349- } )
299+ override_facts ( facts , aio_agent_version : '1.0.0' , is_pe : true , os : { release : { major : '10' , } , } , platform_tag : 'solaris-10-i386' )
350300 end
351301
352302 it do
@@ -374,16 +324,7 @@ def install_script(ver, arch)
374324 end
375325
376326 let ( :facts ) do
377- override_facts ( facts , {
378- is_pe : true ,
379- os : {
380- architecture : 'sun4u' ,
381- release : {
382- major : '10' ,
383- } ,
384- } ,
385- platform_tag : 'solaris-10-sparc' ,
386- } )
327+ override_facts ( facts , is_pe : true , os : { architecture : 'sun4u' , release : { major : '10' , } , } , platform_tag : 'solaris-10-sparc' )
387328 end
388329
389330 it { is_expected . to compile . with_all_deps }
@@ -407,17 +348,7 @@ def install_script(ver, arch)
407348
408349 context 'with older aio_agent_version' do
409350 let ( :facts ) do
410- override_facts ( facts , {
411- aio_agent_version : '1.0.0' ,
412- is_pe : true ,
413- os : {
414- architecture : 'sun4u' ,
415- release : {
416- major : '10' ,
417- } ,
418- } ,
419- platform_tag : 'solaris-10-sparc' ,
420- } )
351+ override_facts ( facts , aio_agent_version : '1.0.0' , is_pe : true , os : { architecture : 'sun4u' , release : { major : '10' , } , } , platform_tag : 'solaris-10-sparc' )
421352 end
422353
423354 it do
0 commit comments