mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
mock outer dsl attributes method
This commit is contained in:
parent
1613add894
commit
ee0e9fc7c1
1 changed files with 5 additions and 0 deletions
|
@ -102,6 +102,11 @@ module Inspec
|
|||
__register_rule rule, &block
|
||||
end
|
||||
|
||||
# TODO: mock method for attributes; import attribute handling
|
||||
define_method :attributes do |_name, _options|
|
||||
nil
|
||||
end
|
||||
|
||||
def skip_rule(id)
|
||||
__unregister_rule id
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue