summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-08-15 16:24:08 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-08-15 16:24:08 +0900
commit269d257063720f21d287084a96c7a357f16973f3 (patch)
tree06bb34d27c98c09adc176f1ea7412fa39a56004b
parenta41379c5988a97716113f090bf972a71ef19b081 (diff)
downloadbundler-269d257063720f21d287084a96c7a357f16973f3.tar.gz
Fix a typos
-rw-r--r--spec/bundler/rubygems_integration_spec.rb2
-rw-r--r--spec/bundler/shared_helpers_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/rubygems_integration_spec.rb b/spec/bundler/rubygems_integration_spec.rb
index e9c21471d6..b1b15d9e5d 100644
--- a/spec/bundler/rubygems_integration_spec.rb
+++ b/spec/bundler/rubygems_integration_spec.rb
@@ -66,7 +66,7 @@ RSpec.describe Bundler::RubygemsIntegration do
end
let(:fetcher) { double("gem_remote_fetcher") }
- it "succesfully downloads gem with retries" do
+ it "successfully downloads gem with retries" do
expect(Bundler.rubygems).to receive(:gem_remote_fetcher).and_return(fetcher)
expect(fetcher).to receive(:headers=).with("X-Gemfile-Source" => "https://foo.bar")
expect(Bundler::Retry).to receive(:new).with("download gem from #{uri}/").
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb
index a04633568d..66aaf2cf82 100644
--- a/spec/bundler/shared_helpers_spec.rb
+++ b/spec/bundler/shared_helpers_spec.rb
@@ -261,7 +261,7 @@ RSpec.describe Bundler::SharedHelpers do
subject.set_bundle_environment
end
- it "exits if bundle path contains the path seperator" do
+ it "exits if bundle path contains the path separator" do
stub_const("File::PATH_SEPARATOR", ":".freeze)
allow(Bundler).to receive(:bundle_path) { Pathname.new("so:me/dir/bin") }
expect { subject.send(:validate_bundle_path) }.to raise_error(