diff options
author | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-04-07 00:24:35 +0530 |
---|---|---|
committer | Vivek Singh <vivek.singh@msystechnologies.com> | 2020-04-07 00:24:35 +0530 |
commit | a700fec953f275b2b0338130baa85b12beec0aea (patch) | |
tree | d154db2f588316c289b33036c5de256a040172b6 /spec/unit/provider | |
parent | be60ec97c5774ebaf7d2f4cfdc82bc51f59fb2bb (diff) | |
download | chef-a700fec953f275b2b0338130baa85b12beec0aea.tar.gz |
some spec typos
Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
Diffstat (limited to 'spec/unit/provider')
-rw-r--r-- | spec/unit/provider/apt_preference_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/package/rpm_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/package/rubygems_spec.rb | 6 | ||||
-rw-r--r-- | spec/unit/provider/package/solaris_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/remote_file/http_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/provider/service/windows_spec.rb | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/spec/unit/provider/apt_preference_spec.rb b/spec/unit/provider/apt_preference_spec.rb index 91b2f58acb..1cb68f9cda 100644 --- a/spec/unit/provider/apt_preference_spec.rb +++ b/spec/unit/provider/apt_preference_spec.rb @@ -82,7 +82,7 @@ describe "Chef::Provider::AptPreference" do FileUtils.touch("#{pref_dir}/libmysqlclient16_1wildcard.pref") end - it "deletes the name santized .pref file" do + it "deletes the name sanitized .pref file" do provider.run_action(:remove) expect(new_resource).to be_updated_by_last_action expect(File).not_to exist("#{pref_dir}/libmysqlclient16_1wildcard.pref") diff --git a/spec/unit/provider/package/rpm_spec.rb b/spec/unit/provider/package/rpm_spec.rb index 1c4f9d31ee..4694348438 100644 --- a/spec/unit/provider/package/rpm_spec.rb +++ b/spec/unit/provider/package/rpm_spec.rb @@ -50,7 +50,7 @@ describe Chef::Provider::Package::Rpm do describe "when the package source is not valid" do - context "when source is not defiend" do + context "when source is not defined" do let(:new_resource) { Chef::Resource::RpmPackage.new("ImageMagick-c++") } it "should raise an exception when attempting any action" do diff --git a/spec/unit/provider/package/rubygems_spec.rb b/spec/unit/provider/package/rubygems_spec.rb index 54b721ed40..0a55ffd784 100644 --- a/spec/unit/provider/package/rubygems_spec.rb +++ b/spec/unit/provider/package/rubygems_spec.rb @@ -808,7 +808,7 @@ describe Chef::Provider::Package::Rubygems do end end - context "when clear_sources is set true and an explict source is specified" do + context "when clear_sources is set true and an explicit source is specified" do let(:gem_binary) { "/foo/bar" } let(:source) { "http://mirror.ops.rhcloud.com/mirror/ruby" } @@ -821,7 +821,7 @@ describe Chef::Provider::Package::Rubygems do end end - context "when clear_sources is set false and an explict source is specified" do + context "when clear_sources is set false and an explicit source is specified" do let(:gem_binary) { "/foo/bar" } let(:source) { "http://mirror.ops.rhcloud.com/mirror/ruby" } @@ -867,7 +867,7 @@ describe Chef::Provider::Package::Rubygems do end describe "at version specified with comparison operator" do - context "if current version satisifies requested version" do + context "if current version satisfies requested version" do let(:target_version) { ">=2.3.0" } let(:current_version) { "2.3.3" } diff --git a/spec/unit/provider/package/solaris_spec.rb b/spec/unit/provider/package/solaris_spec.rb index 5fc2d89a81..8effa82a78 100644 --- a/spec/unit/provider/package/solaris_spec.rb +++ b/spec/unit/provider/package/solaris_spec.rb @@ -55,7 +55,7 @@ describe Chef::Provider::Package::Solaris do expect(@provider.current_resource.name).to eq("SUNWbash") end - it "should set the current reource package name to the new resource package name" do + it "should set the current resource package name to the new resource package name" do allow(@provider).to receive(:shell_out_compacted).and_return(@status) @provider.load_current_resource expect(@provider.current_resource.package_name).to eq("SUNWbash") diff --git a/spec/unit/provider/remote_file/http_spec.rb b/spec/unit/provider/remote_file/http_spec.rb index 8ece1a854b..032cf474ef 100644 --- a/spec/unit/provider/remote_file/http_spec.rb +++ b/spec/unit/provider/remote_file/http_spec.rb @@ -305,7 +305,7 @@ describe Chef::Provider::RemoteFile::HTTP do it "should disable gzip compression in the client" do # Before block in the parent context has set an expectation on - # Chef::HTTP::Simple.new() being called with expected arguments. Here we fufil + # Chef::HTTP::Simple.new() being called with expected arguments. Here we fulfill # that expectation, so that we can explicitly set it for this test. # This is intended to provide insurance that refactoring of the parent # context does not negate the value of this particular example. diff --git a/spec/unit/provider/service/windows_spec.rb b/spec/unit/provider/service/windows_spec.rb index 4209624057..2815c266b8 100644 --- a/spec/unit/provider/service/windows_spec.rb +++ b/spec/unit/provider/service/windows_spec.rb @@ -431,7 +431,7 @@ describe Chef::Provider::Service::Windows, "load_current_resource" do expect(provider.resource_updated?).to be false end - it "does not convigure service" do + it "does not configure service" do expect(Win32::Service).to_not receive(:configure) provider.action_configure end |