1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[bundler/bundler] Fix typos

https://github.com/bundler/bundler/commit/1bd9660780
This commit is contained in:
David Rodríguez 2019-03-27 18:22:09 +01:00 committed by Hiroshi SHIBATA
parent 8d9fc8466f
commit 0dad89c0fe
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -66,7 +66,7 @@ RSpec.describe Bundler::Plugin::Installer do
expect(spec.full_name).to eq "ga-plugin-1.0" expect(spec.full_name).to eq "ga-plugin-1.0"
end end
it "has expected full gem path" do it "has expected full_gem_path" do
rev = revision_for(lib_path("ga-plugin")) rev = revision_for(lib_path("ga-plugin"))
expect(result["ga-plugin"].full_gem_path). expect(result["ga-plugin"].full_gem_path).
to eq(Bundler::Plugin.root.join("bundler", "gems", "ga-plugin-#{rev[0..11]}").to_s) to eq(Bundler::Plugin.root.join("bundler", "gems", "ga-plugin-#{rev[0..11]}").to_s)
@ -89,7 +89,7 @@ RSpec.describe Bundler::Plugin::Installer do
expect(spec.full_name).to eq "ga-plugin-1.0" expect(spec.full_name).to eq "ga-plugin-1.0"
end end
it "has expected full gem path" do it "has expected full_gem_path" do
rev = revision_for(lib_path("ga-plugin")) rev = revision_for(lib_path("ga-plugin"))
expect(result["ga-plugin"].full_gem_path). expect(result["ga-plugin"].full_gem_path).
to eq(Bundler::Plugin.root.join("bundler", "gems", "ga-plugin-#{rev[0..11]}").to_s) to eq(Bundler::Plugin.root.join("bundler", "gems", "ga-plugin-#{rev[0..11]}").to_s)
@ -105,7 +105,7 @@ RSpec.describe Bundler::Plugin::Installer do
expect(result["re-plugin"]).to be_kind_of(Bundler::RemoteSpecification) expect(result["re-plugin"]).to be_kind_of(Bundler::RemoteSpecification)
end end
it "has expected full_gem)path" do it "has expected full_gem_path" do
expect(result["re-plugin"].full_gem_path). expect(result["re-plugin"].full_gem_path).
to eq(global_plugin_gem("re-plugin-1.0").to_s) to eq(global_plugin_gem("re-plugin-1.0").to_s)
end end
@ -121,7 +121,7 @@ RSpec.describe Bundler::Plugin::Installer do
expect(result["ma-plugin"]).to be_kind_of(Bundler::RemoteSpecification) expect(result["ma-plugin"]).to be_kind_of(Bundler::RemoteSpecification)
end end
it "has expected full_gem)path" do it "has expected full_gem_path" do
expect(result["re-plugin"].full_gem_path).to eq(global_plugin_gem("re-plugin-1.0").to_s) expect(result["re-plugin"].full_gem_path).to eq(global_plugin_gem("re-plugin-1.0").to_s)
expect(result["ma-plugin"].full_gem_path).to eq(global_plugin_gem("ma-plugin-1.0").to_s) expect(result["ma-plugin"].full_gem_path).to eq(global_plugin_gem("ma-plugin-1.0").to_s)
end end