summaryrefslogtreecommitdiff
path: root/spec/unit/scan_access_control_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/scan_access_control_spec.rb')
-rw-r--r--spec/unit/scan_access_control_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/scan_access_control_spec.rb b/spec/unit/scan_access_control_spec.rb
index bc0457dec2..8fcda0edb1 100644
--- a/spec/unit/scan_access_control_spec.rb
+++ b/spec/unit/scan_access_control_spec.rb
@@ -60,7 +60,7 @@ describe Chef::ScanAccessControl do
end
it "sets the mode of the current resource to the current mode as a String" do
- @current_resource.mode.should == "644"
+ @current_resource.mode.should == "0644"
end
context "on unix", :unix_only do
@@ -91,7 +91,7 @@ describe Chef::ScanAccessControl do
end
it "sets the mode of the current resource to the file's current mode as a string" do
- @current_resource.mode.should == "644"
+ @current_resource.mode.should == "0644"
end
end
@@ -102,7 +102,7 @@ describe Chef::ScanAccessControl do
end
it "sets the mode of the current resource to the current mode as a String" do
- @current_resource.mode.should == "644"
+ @current_resource.mode.should == "0644"
end
end