lib/inspec/describe.rb in inspec-4.17.15 vs lib/inspec/describe.rb in inspec-4.17.17
- old
+ new
@@ -15,9 +15,13 @@
instance_eval(&block)
@action.call("describe.one", @checks, nil)
end
+ def method_missing(method_name, *arguments)
+ Inspec::DSL.method_missing_resource(inspec, method_name, *arguments)
+ end
+
def describe(*args, &block)
@checks.push(["describe", args, block])
end
end
end