Allow access to registry from conditions

This commit is contained in:
Thibault Jouan
2014-09-25 00:01:03 +00:00
parent d335abce57
commit 77582ef843
4 changed files with 23 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ module Producer
end
end
extend Forwardable
def_delegators :@env, :get
define_test :`, Tests::ShellCommandStatus
define_test :sh, Tests::ShellCommandStatus
define_test :file_contains, Tests::FileContains