Clean up for rubocop #75
Annotations
2 errors and 1 warning
Run bundle exec rake spec:
spec/functions/simp_apache/auth_spec.rb#L39
simp_apache::auth with valid input generates apache settings for enabled file auth method
Failure/Error: is_expected.to run.with_params(file_auth_hash).and_return(expected_output.strip)
SyntaxError:
/home/runner/work/pupmod-simp-simp_apache/pupmod-simp-simp_apache/spec/fixtures/modules/simp_apache/lib/puppet/functions/simp_apache/auth.rb:119: syntax error, unexpected `if' modifier, expecting ')'
...ndpw'].gsub(''', "\\\\'")}'" if opts['bindpw']
... ^~
/home/runner/work/pupmod-simp-simp_apache/pupmod-simp-simp_apache/spec/fixtures/modules/simp_apache/lib/puppet/functions/simp_apache/auth.rb:120: syntax error, unexpected `end', expecting '}'
end
^~~
/home/runner/work/pupmod-simp-simp_apache/pupmod-simp-simp_apache/spec/fixtures/modules/simp_apache/lib/puppet/functions/simp_apache/auth.rb:126: syntax error, unexpected `end', expecting '}'
end
^~~
/home/runner/work/pupmod-simp-simp_apache/pupmod-simp-simp_apache/spec/fixtures/modules/simp_apache/lib/puppet/functions/simp_apache/auth.rb:135: syntax error, unexpected `end', expecting '}'
|
Run bundle exec rake spec
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading