diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-02-13 06:34:27 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2015-02-17 09:24:45 -0500 |
commit | 6c0487d9b87413725853a3f845edac7a29013289 (patch) | |
tree | 8206c6c4814e6436064841e9d41401e1a34ab0ed | |
parent | c2438711405a34d74c9e9c145edf90ece094a423 (diff) | |
download | chef-6c0487d9b87413725853a3f845edac7a29013289.tar.gz |
Added spec to check that FileAccessControl responds to writable?
-rw-r--r-- | spec/unit/file_access_control_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/unit/file_access_control_spec.rb b/spec/unit/file_access_control_spec.rb index cd0bd55cc3..2c68792c63 100644 --- a/spec/unit/file_access_control_spec.rb +++ b/spec/unit/file_access_control_spec.rb @@ -42,6 +42,12 @@ describe Chef::FileAccessControl do end end + describe 'class methods' do + it 'responds to #writable?' do + expect(Chef::FileAccessControl).to respond_to(:writable?) + end + end + it "has a resource" do expect(@fac.resource).to equal(@resource) end |