diff --git a/spec/bundler/commands/clean_spec.rb b/spec/bundler/commands/clean_spec.rb index d3161c3adb..3ef7e809e8 100644 --- a/spec/bundler/commands/clean_spec.rb +++ b/spec/bundler/commands/clean_spec.rb @@ -601,7 +601,7 @@ RSpec.describe "bundle clean" do expect(out).to eq("1.0") end - it "doesn't blow up on path gems without a .gempsec" do + it "doesn't blow up on path gems without a .gemspec" do relative_path = "vendor/private_gems/bar-1.0" absolute_path = bundled_app(relative_path) FileUtils.mkdir_p("#{absolute_path}/lib/bar") diff --git a/spec/bundler/support/path.rb b/spec/bundler/support/path.rb index 7504f33c6e..3cf9cdd875 100644 --- a/spec/bundler/support/path.rb +++ b/spec/bundler/support/path.rb @@ -154,7 +154,7 @@ module Spec end def ruby_core? - # avoid to wornings + # avoid to warnings @ruby_core ||= nil if @ruby_core.nil?