diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-09 12:31:01 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | 498d60207ce6664f0ca807b3f7a4690b3097014c (patch) | |
tree | 2bf61e71d06b1a577c1b984765c20a0f64ec8ccf /spec/unit | |
parent | e792cfd2df516c13ae5ca6ce1eed2b8e10628581 (diff) | |
download | chef-498d60207ce6664f0ca807b3f7a4690b3097014c.tar.gz |
autofixing Style/SpaceBeforeSemicolon cop
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/file_access_control_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/file_access_control_spec.rb b/spec/unit/file_access_control_spec.rb index 4357a91148..4118133692 100644 --- a/spec/unit/file_access_control_spec.rb +++ b/spec/unit/file_access_control_spec.rb @@ -67,7 +67,7 @@ describe Chef::FileAccessControl do it "raises a Chef::Exceptions::UserIDNotFound error when Etc can't find the user's name" do expect(Etc).to receive(:getpwnam).with("toor").and_raise(ArgumentError) - expect { @fac.target_uid ; @provider_requirements.run(:create) }.to raise_error(Chef::Exceptions::UserIDNotFound, "cannot determine user id for 'toor', does the user exist on this system?") + expect { @fac.target_uid; @provider_requirements.run(:create) }.to raise_error(Chef::Exceptions::UserIDNotFound, "cannot determine user id for 'toor', does the user exist on this system?") end it "does not attempt to resolve the uid if the user is not specified" do @@ -84,7 +84,7 @@ describe Chef::FileAccessControl do it "raises an ArgumentError if the resource's owner is set to something wack" do @resource.instance_variable_set(:@owner, :diaf) - expect { @fac.target_uid ; @provider_requirements.run(:create) }.to raise_error(ArgumentError) + expect { @fac.target_uid; @provider_requirements.run(:create) }.to raise_error(ArgumentError) end it "uses the resource's uid for the target uid when the resource's owner is specified by an integer" do |