summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/commands/clean_spec.rb2
-rw-r--r--spec/support/path.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index d3161c3adb..3ef7e809e8 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/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/support/path.rb b/spec/support/path.rb
index 9493c5422a..14c1514291 100644
--- a/spec/support/path.rb
+++ b/spec/support/path.rb
@@ -150,7 +150,7 @@ module Spec
end
def ruby_core?
- # avoid to wornings
+ # avoid to warnings
@ruby_core ||= nil
if @ruby_core.nil?