Advertisement
Guest User

Untitled

a guest
Aug 21st, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. module RSpec::Puppet
  2. module GenericDynamicMatchers
  3. def method_missing(method, *args, &block)
  4. return RSpec::Puppet::ManifestMatchers::CreateGeneric.new("contain_#{args[0]}", args[1], &block) if method == :contain
  5. super
  6. end
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement