summaryrefslogtreecommitdiff
path: root/spec/ruby/core/file/new_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/file/new_spec.rb')
-rw-r--r--spec/ruby/core/file/new_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/new_spec.rb b/spec/ruby/core/file/new_spec.rb
index 815ecd9d36..3bb2712ada 100644
--- a/spec/ruby/core/file/new_spec.rb
+++ b/spec/ruby/core/file/new_spec.rb
@@ -38,7 +38,7 @@ describe "File.new" do
end
it "creates the file and returns writable descriptor when called with 'w' mode and r-o permissions" do
- # it should be possible to write to such a file via returned descriptior,
+ # it should be possible to write to such a file via returned descriptor,
# even though the file permissions are r-r-r.
rm_r @file