summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-10-19 13:20:34 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-10-19 13:20:34 +0900
commitce628503344997e8ebd94bd3725c18797f58e3af (patch)
treef30da2d5029a9db461073580a7da1067961a72ce
parent09dd9d8e5da29f8dfa1c78553950f9469d7291e6 (diff)
Fix typos [ci skip]
-rw-r--r--spec/bundler/runtime/setup_spec.rb2
-rw-r--r--spec/ruby/core/objectspace/define_finalizer_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/runtime/setup_spec.rb b/spec/bundler/runtime/setup_spec.rb
index ffa909e269..8424e02de1 100644
--- a/spec/bundler/runtime/setup_spec.rb
+++ b/spec/bundler/runtime/setup_spec.rb
@@ -1313,7 +1313,7 @@ end
expect(out).to eq("The Gemfile's dependencies are satisfied")
end
- # bundler respects paths specified direclty in RUBYLIB or RUBYOPT, and
+ # bundler respects paths specified directly in RUBYLIB or RUBYOPT, and
# that happens when running ruby from the ruby-core setup. To
# workaround, we manually remove those for these tests when they would
# override the default gem.
diff --git a/spec/ruby/core/objectspace/define_finalizer_spec.rb b/spec/ruby/core/objectspace/define_finalizer_spec.rb
index d25d2a923f..83cbb39985 100644
--- a/spec/ruby/core/objectspace/define_finalizer_spec.rb
+++ b/spec/ruby/core/objectspace/define_finalizer_spec.rb
@@ -94,7 +94,7 @@ describe "ObjectSpace.define_finalizer" do
ruby_exe(code, :args => "2>&1").should include("warning: finalizer references object to be finalized\n")
end
- it "warns if the finalizer was a block in the reciever" do
+ it "warns if the finalizer was a block in the receiver" do
code = <<-RUBY
class CapturesSelf
def initialize