Skip to content

Move expectation out of let block #601

Move expectation out of let block

Move expectation out of let block #601

Triggered via pull request August 17, 2024 10:22
@ekohlekohl
synchronize #2558
ekohl:fix-test
Status Failure
Total duration 16m 27s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
26s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on almalinux-8-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on centos-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on centos-8-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on debian-10-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on debian-11-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on oraclelinux-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-8-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-9-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on rocky-8-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on ubuntu-22.04-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on centos-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on scientific-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on oraclelinux-7-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-8-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on redhat-9-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on sles-15-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on sles-12-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/vhost_spec.rb#L2176
apache::vhost os-independent items on debian-10-x86_64 userdir is expected to contain Concat::Fragment[rspec.example.com-apache-userdir] with content =~ /^\s+UserDir disabled$/ and content =~ /^\s+UserDir enabled bob$/ Failure/Error: expect(subject).to contain_concat__fragment('rspec.example.com-apache-userdir') .with(content: %r{^\s+UserDir disabled$}) .with(content: %r{^\s+UserDir enabled bob$}) expected that the catalogue would contain Concat::Fragment[rspec.example.com-apache-userdir]