Skip to content

Commit b7d93cb

Browse files
committed
Fixing Rubocop issue.
1 parent a19e406 commit b7d93cb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spec/unit/puppet/provider/aem_installer/default_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ def initialize; end
9898

9999
provider = @provider_class.new(opts[:resource])
100100

101-
yielddata = (opts[:present] ? '/opt/aem/crx-quickstart/app/cq-quickstart-6.1.0-load12b-standalone-quickstart.jar' : '')
101+
yielddata = if opts[:present]
102+
'/opt/aem/crx-quickstart/app/cq-quickstart-6.1.0-load12b-standalone-quickstart.jar'
103+
else
104+
''
105+
end
102106
expect(provider).to receive(:execpipe).and_yield(yielddata)
103107

104108
if opts[:present]

0 commit comments

Comments
 (0)