summaryrefslogtreecommitdiff
path: root/spec/unit/file_content_management/tempfile_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/file_content_management/tempfile_spec.rb')
-rw-r--r--spec/unit/file_content_management/tempfile_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/file_content_management/tempfile_spec.rb b/spec/unit/file_content_management/tempfile_spec.rb
index 3dd90682a8..b57b1ae8e1 100644
--- a/spec/unit/file_content_management/tempfile_spec.rb
+++ b/spec/unit/file_content_management/tempfile_spec.rb
@@ -87,7 +87,7 @@ describe Chef::FileContentManagement::Tempfile do
expect(subject.send(:tempfile_open)).to be_a(Tempfile)
end
- it "should preserve the extention in the tempfile path" do
+ it "should preserve the extension in the tempfile path" do
subject = tempfile_object_for_path("/foo/bar/new_file.html.erb")
tempfile = subject.send(:tempfile_open)
expect(tempfile.path).to match(/chef-new_file.*\.html\.erb$/)