diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/bundler/runtime/setup_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/objectspace/define_finalizer_spec.rb | 2 |
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 |