We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e54b31e + 8c149e9 commit 72bb3a8Copy full SHA for 72bb3a8
lib/rspec-puppet/matchers/run.rb
@@ -35,6 +35,8 @@ def matches?(func_obj)
35
case @expected_return
36
when Regexp
37
return !!(@actual_return =~ @expected_return)
38
+ when RSpec::Mocks::ArgumentMatchers::KindOf, RSpec::Matchers::AliasedMatcher
39
+ return @expected_return === @actual_return
40
else
41
return @actual_return == @expected_return
42
end
0 commit comments