Skip to content

Commit 364589e

Browse files
committed
correct return type validation
1 parent 348a04c commit 364589e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec/functions/stdlib_deferrable_epp_spec.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
it {
2424
foo = Puppet::Pops::Types::TypeFactory.deferred.create('join', [1, 2, 3])
25-
is_expected.to run.with_params('mymod/template.epp', { 'foo' => foo }) # .and_return(a_kind_of Puppet::Pops::Evaluator::DeferredValue)
25+
# This kind_of matcher requires https://github.com/puppetlabs/rspec-puppet/pull/24
26+
is_expected.to run.with_params('mymod/template.epp', { 'foo' => foo }) # .and_return(kind_of Puppet::Pops::Types::PuppetObject)
2627
}
2728
end
2829
end

0 commit comments

Comments
 (0)