Skip to content

Commit

Permalink
Update tests for dynflow service drop in file
Browse files Browse the repository at this point in the history
  • Loading branch information
highpingblorg committed Oct 22, 2024
1 parent d9dcc4e commit 5ce1a03
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/classes/foreman_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,11 @@
it { should_not contain_class('redis') }
it { should_not contain_class('redis::instance') }
it do
is_expected.to contain_file('/usr/lib/systemd/system/[email protected]')
is_expected.to contain_file('/etc/systemd/system/[email protected]/dependencies.conf')
.with_content(/^.*redis:\/\/127\.0\.0\.1:6379\/7.*$/)
end
it do
is_expected.to contain_file('/etc/systemd/system/[email protected]/dependencies.conf')
.with_content(/^.*redis:\/\/127\.0\.0\.1:6379\/7.*$/)
end
end
Expand Down

0 comments on commit 5ce1a03

Please sign in to comment.