diff options
Diffstat (limited to 'spec/support/shared')
-rw-r--r-- | spec/support/shared/functional/securable_resource.rb | 2 | ||||
-rw-r--r-- | spec/support/shared/unit/provider/file.rb | 2 | ||||
-rw-r--r-- | spec/support/shared/unit/user_and_client_shared.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared/functional/securable_resource.rb b/spec/support/shared/functional/securable_resource.rb index 010ef27f47..4bccce7028 100644 --- a/spec/support/shared/functional/securable_resource.rb +++ b/spec/support/shared/functional/securable_resource.rb @@ -474,7 +474,7 @@ shared_examples_for "a securable resource without existing target" do end it "respects mode in string form as an octal number" do - # on windows, mode cannot modify owner and/or group permissons + # on windows, mode cannot modify owner and/or group permissions # unless the owner and/or group as appropriate is specified resource.mode "400" resource.owner "Guest" diff --git a/spec/support/shared/unit/provider/file.rb b/spec/support/shared/unit/provider/file.rb index d78eff0c90..43b616c26b 100644 --- a/spec/support/shared/unit/provider/file.rb +++ b/spec/support/shared/unit/provider/file.rb @@ -197,7 +197,7 @@ shared_examples_for Chef::Provider::File do expect(provider.current_resource.name).to eql(resource.name) end - it "the loaded current_resource path should be the same as the resoure path" do + it "the loaded current_resource path should be the same as the resource path" do provider.load_current_resource expect(provider.current_resource.path).to eql(resource.path) end diff --git a/spec/support/shared/unit/user_and_client_shared.rb b/spec/support/shared/unit/user_and_client_shared.rb index 40042933e2..1554a3dd8e 100644 --- a/spec/support/shared/unit/user_and_client_shared.rb +++ b/spec/support/shared/unit/user_and_client_shared.rb @@ -63,7 +63,7 @@ shared_examples_for "user or client create" do } end - it "puts the public key into the objectr returned by create" do + it "puts the public key into the object returned by create" do expect(rest_v1).to receive(:post).with(url, payload).and_return(payload.merge(chef_key)) new_object = object.create expect(new_object.public_key).to eq("some_public_key") |