summaryrefslogtreecommitdiff
path: root/spec/bundler
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-08-15 16:47:18 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-21 07:58:46 +0900
commitede77d82e709956cd1d3c849840107c84cd2e911 (patch)
treec67c0692887e3e8ba4de310744c71d96c2c7708a /spec/bundler
parent1120bacd8b8656b45a56487ee62fd48095aca019 (diff)
[bundler/bundler] Fix a couple of typos
https://github.com/bundler/bundler/commit/52b6b94068
Diffstat (limited to 'spec/bundler')
-rw-r--r--spec/bundler/commands/clean_spec.rb2
-rw-r--r--spec/bundler/support/path.rb2
2 files changed, 2 insertions, 2 deletions
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?