Skip to content

Commit

Permalink
rework unit tests for Puppet 7
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Feb 5, 2024
1 parent b8573bf commit 1700e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/defines/objects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}
end

it { is_expected.to contain_concat__fragment('foo').with_content(%r{import "bar"\r\n import "baz"\r\n}) }
it { is_expected.to contain_concat__fragment('foo').with_content(%r{import "bar"}.with_content(%{import "baz"}) }
end

context "on #{os} with apply_target => 'Service', object_type => 'Service' (same value)" do
Expand Down

0 comments on commit 1700e42

Please sign in to comment.