diff options
author | sawanoboly <sawanoboriyu@higanworks.com> | 2014-06-28 15:23:39 +0900 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-21 11:44:46 -0700 |
commit | dc7c8459ed684abc5c83512a589173322da8d97e (patch) | |
tree | f41d2ba130d6ed779e4c071699b0f53c78f2675b /lib/chef/resource/scm.rb | |
parent | 68481a5a2f4cc065a5f4cab82506455118c4760d (diff) | |
download | chef-dc7c8459ed684abc5c83512a589173322da8d97e.tar.gz |
set nil by default, add two specs
Diffstat (limited to 'lib/chef/resource/scm.rb')
-rw-r--r-- | lib/chef/resource/scm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/scm.rb b/lib/chef/resource/scm.rb index 55a6d8a7be..87c217b4cc 100644 --- a/lib/chef/resource/scm.rb +++ b/lib/chef/resource/scm.rb @@ -40,7 +40,7 @@ class Chef @allowed_actions.push(:checkout, :export, :sync, :diff, :log) @action = [:sync] @checkout_branch = "deploy" - @environment = {} + @environment = nil end def destination(arg=nil) |