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/util | |
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/util')
-rw-r--r-- | spec/unit/util/diff_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/util/dsc/resource_store.rb | 2 | ||||
-rw-r--r-- | spec/unit/util/file_edit_spec.rb | 2 | ||||
-rw-r--r-- | spec/unit/util/windows/logon_session_spec.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/util/diff_spec.rb b/spec/unit/util/diff_spec.rb index 70376bcdb1..113910ed30 100644 --- a/spec/unit/util/diff_spec.rb +++ b/spec/unit/util/diff_spec.rb @@ -402,7 +402,7 @@ shared_examples_for "a diff util" do end end - it "should identify null-teriminated multi-line string files as binary" do + it "should identify null-terminated multi-line string files as binary" do Tempfile.open("chef-util-diff-spec") do |file| file.write("This is a binary file.\nNo Really\nit is\0") file.close diff --git a/spec/unit/util/dsc/resource_store.rb b/spec/unit/util/dsc/resource_store.rb index a864a2c1da..a91b10d3c0 100644 --- a/spec/unit/util/dsc/resource_store.rb +++ b/spec/unit/util/dsc/resource_store.rb @@ -55,7 +55,7 @@ describe Chef::Util::DSC::ResourceStore do expect(resource_store.find("foo")).to eql([resource_a]) end - it "returns multiple resoures if they are found" do + it "returns multiple resources if they are found" do expect(resource_store).to receive(:query_resource).and_return([resource_a, resource_b]) expect(resource_store.find("foo")).to include(resource_a, resource_b) end diff --git a/spec/unit/util/file_edit_spec.rb b/spec/unit/util/file_edit_spec.rb index 5c5b04d8a5..14e675d41c 100644 --- a/spec/unit/util/file_edit_spec.rb +++ b/spec/unit/util/file_edit_spec.rb @@ -105,7 +105,7 @@ describe Chef::Util::FileEdit do target_file.close! end - describe "initialiize" do + describe "initialize" do it "should create a new Chef::Util::FileEdit object" do expect(fedit).to be_instance_of(Chef::Util::FileEdit) end diff --git a/spec/unit/util/windows/logon_session_spec.rb b/spec/unit/util/windows/logon_session_spec.rb index 8a94802bf6..8d8d613b77 100644 --- a/spec/unit/util/windows/logon_session_spec.rb +++ b/spec/unit/util/windows/logon_session_spec.rb @@ -31,7 +31,7 @@ describe ::Chef::Util::Windows::LogonSession do let(:authentication) { :remote } shared_examples_for "it received syntactically invalid credentials" do - it "does not raisees an exception when it is initialized" do + it "does not raises an exception when it is initialized" do expect { session }.to raise_error(ArgumentError) end end |