summaryrefslogtreecommitdiff
path: root/spec/support/shared
diff options
context:
space:
mode:
authorVivek Singh <vivek.singh@msystechnologies.com>2020-04-07 00:24:35 +0530
committerVivek Singh <vivek.singh@msystechnologies.com>2020-04-07 00:24:35 +0530
commita700fec953f275b2b0338130baa85b12beec0aea (patch)
treed154db2f588316c289b33036c5de256a040172b6 /spec/support/shared
parentbe60ec97c5774ebaf7d2f4cfdc82bc51f59fb2bb (diff)
downloadchef-a700fec953f275b2b0338130baa85b12beec0aea.tar.gz
some spec typos
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'spec/support/shared')
-rw-r--r--spec/support/shared/functional/securable_resource.rb2
-rw-r--r--spec/support/shared/unit/provider/file.rb2
-rw-r--r--spec/support/shared/unit/user_and_client_shared.rb2
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")