diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-04-28 00:31:20 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-04-28 00:31:20 -0700 |
commit | 21cc606e60acc25d8741757eacc2c5459cdd1472 (patch) | |
tree | 53319a768a0a9d9c5f06e715ab75597e422c372a /spec/unit/resource/directory_spec.rb | |
parent | bab9b3459fe41849970e50cb9b96ea62370fbad0 (diff) | |
download | chef-21cc606e60acc25d8741757eacc2c5459cdd1472.tar.gz |
Got set_or_return to work properly
Diffstat (limited to 'spec/unit/resource/directory_spec.rb')
-rw-r--r-- | spec/unit/resource/directory_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/resource/directory_spec.rb b/spec/unit/resource/directory_spec.rb index 18fffb01ff..9a15712e89 100644 --- a/spec/unit/resource/directory_spec.rb +++ b/spec/unit/resource/directory_spec.rb @@ -27,7 +27,6 @@ describe Chef::Resource::Directory do it "should create a new Chef::Resource::Directory" do @resource.should be_a_kind_of(Chef::Resource) - @resource.should be_a_kind_of(Chef::Resource::File) @resource.should be_a_kind_of(Chef::Resource::Directory) end @@ -36,7 +35,7 @@ describe Chef::Resource::Directory do end it "should have a default action of 'create'" do - @resource.action.should eql("create") + @resource.action.should eql(:create) end it "should accept create or delete for action" do |