We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a19e406 commit b7d93cbCopy full SHA for b7d93cb
spec/unit/puppet/provider/aem_installer/default_spec.rb
@@ -98,7 +98,11 @@ def initialize; end
98
99
provider = @provider_class.new(opts[:resource])
100
101
- yielddata = (opts[:present] ? '/opt/aem/crx-quickstart/app/cq-quickstart-6.1.0-load12b-standalone-quickstart.jar' : '')
+ yielddata = if opts[:present]
102
+ '/opt/aem/crx-quickstart/app/cq-quickstart-6.1.0-load12b-standalone-quickstart.jar'
103
+ else
104
+ ''
105
+ end
106
expect(provider).to receive(:execpipe).and_yield(yielddata)
107
108
if opts[:present]
0 commit comments