forked from theforeman/puppet-foreman
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests for dynflow service drop in file
Fixes theforemanGH-1191
- Loading branch information
1 parent
d9dcc4e
commit 5ce1a03
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|