Skip to content

Commit 510f720

Browse files
bastelfreakekohl
authored andcommitted
Adjust test for latest theforeman/motd release
The test compares mocked data with the actual theforeman/motd release. recently the 2.0.0 release happened: https://github.com/theforeman/puppet-motd/blob/master/CHANGELOG.md#200-2024-01-09
1 parent a145d56 commit 510f720

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/metadata_json_deps_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
let(:module_name) { 'theforeman/motd' }
7070
let(:module_version) { '< 0.1.0' }
7171

72-
it { expect { subject }.to output(%r{\AChecking .+puppet-module.+json\n theforeman/motd \(< 0\.1\.0\) doesn't match 1\.0\.0\Z}).to_stdout }
72+
it { expect { subject }.to output(%r{\AChecking .+puppet-module.+json\n theforeman/motd \(< 0\.1\.0\) doesn't match 2\.0\.0\Z}).to_stdout }
7373
it { expect { subject }.to_not output.to_stderr }
7474
end
7575
end

0 commit comments

Comments
 (0)