Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module RSpec::Puppet
- module GenericDynamicMatchers
- def method_missing(method, *args, &block)
- return RSpec::Puppet::ManifestMatchers::CreateGeneric.new("contain_#{args[0]}", args[1], &block) if method == :contain
- super
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement