summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.rspec1
-rw-r--r--spec/bundler/bundler_spec.rb1
-rw-r--r--spec/bundler/cli_spec.rb1
-rw-r--r--spec/bundler/compact_index_client/updater_spec.rb1
-rw-r--r--spec/bundler/definition_spec.rb1
-rw-r--r--spec/bundler/dsl_spec.rb1
-rw-r--r--spec/bundler/endpoint_specification_spec.rb1
-rw-r--r--spec/bundler/env_spec.rb1
-rw-r--r--spec/bundler/environment_preserver_spec.rb1
-rw-r--r--spec/bundler/fetcher/base_spec.rb1
-rw-r--r--spec/bundler/fetcher/compact_index_spec.rb1
-rw-r--r--spec/bundler/fetcher/dependency_spec.rb1
-rw-r--r--spec/bundler/fetcher/downloader_spec.rb1
-rw-r--r--spec/bundler/fetcher/index_spec.rb1
-rw-r--r--spec/bundler/fetcher_spec.rb1
-rw-r--r--spec/bundler/friendly_errors_spec.rb1
-rw-r--r--spec/bundler/gem_helper_spec.rb1
-rw-r--r--spec/bundler/gem_version_promoter_spec.rb1
-rw-r--r--spec/bundler/index_spec.rb1
-rw-r--r--spec/bundler/installer/gem_installer_spec.rb1
-rw-r--r--spec/bundler/installer/parallel_installer_spec.rb1
-rw-r--r--spec/bundler/installer/spec_installation_spec.rb1
-rw-r--r--spec/bundler/lockfile_parser_spec.rb1
-rw-r--r--spec/bundler/mirror_spec.rb1
-rw-r--r--spec/bundler/plugin/api/source_spec.rb1
-rw-r--r--spec/bundler/plugin/api_spec.rb1
-rw-r--r--spec/bundler/plugin/dsl_spec.rb1
-rw-r--r--spec/bundler/plugin/index_spec.rb1
-rw-r--r--spec/bundler/plugin/installer_spec.rb1
-rw-r--r--spec/bundler/plugin/source_list_spec.rb1
-rw-r--r--spec/bundler/plugin_spec.rb1
-rw-r--r--spec/bundler/psyched_yaml_spec.rb1
-rw-r--r--spec/bundler/remote_specification_spec.rb1
-rw-r--r--spec/bundler/retry_spec.rb1
-rw-r--r--spec/bundler/ruby_dsl_spec.rb1
-rw-r--r--spec/bundler/ruby_version_spec.rb1
-rw-r--r--spec/bundler/rubygems_integration_spec.rb1
-rw-r--r--spec/bundler/settings_spec.rb1
-rw-r--r--spec/bundler/shared_helpers_spec.rb1
-rw-r--r--spec/bundler/source/git/git_proxy_spec.rb1
-rw-r--r--spec/bundler/source/rubygems/remote_spec.rb1
-rw-r--r--spec/bundler/source/rubygems_spec.rb1
-rw-r--r--spec/bundler/source_list_spec.rb1
-rw-r--r--spec/bundler/source_spec.rb1
-rw-r--r--spec/bundler/spec_set_spec.rb1
-rw-r--r--spec/bundler/ssl_certs/certificate_manager_spec.rb1
-rw-r--r--spec/bundler/ui_spec.rb1
-rw-r--r--spec/bundler/uri_credentials_filter_spec.rb1
-rw-r--r--spec/bundler/version_ranges_spec.rb1
-rw-r--r--spec/bundler/worker_spec.rb1
-rw-r--r--spec/bundler/yaml_serializer_spec.rb1
-rw-r--r--spec/cache/cache_path_spec.rb1
-rw-r--r--spec/cache/gems_spec.rb1
-rw-r--r--spec/cache/git_spec.rb1
-rw-r--r--spec/cache/path_spec.rb1
-rw-r--r--spec/cache/platform_spec.rb1
-rw-r--r--spec/commands/add_spec.rb1
-rw-r--r--spec/commands/binstubs_spec.rb1
-rw-r--r--spec/commands/check_spec.rb1
-rw-r--r--spec/commands/clean_spec.rb1
-rw-r--r--spec/commands/config_spec.rb1
-rw-r--r--spec/commands/console_spec.rb1
-rw-r--r--spec/commands/doctor_spec.rb1
-rw-r--r--spec/commands/exec_spec.rb1
-rw-r--r--spec/commands/help_spec.rb1
-rw-r--r--spec/commands/info_spec.rb1
-rw-r--r--spec/commands/init_spec.rb1
-rw-r--r--spec/commands/inject_spec.rb1
-rw-r--r--spec/commands/install_spec.rb1
-rw-r--r--spec/commands/issue_spec.rb1
-rw-r--r--spec/commands/licenses_spec.rb1
-rw-r--r--spec/commands/lock_spec.rb1
-rw-r--r--spec/commands/newgem_spec.rb1
-rw-r--r--spec/commands/open_spec.rb1
-rw-r--r--spec/commands/outdated_spec.rb1
-rw-r--r--spec/commands/package_spec.rb1
-rw-r--r--spec/commands/pristine_spec.rb1
-rw-r--r--spec/commands/show_spec.rb1
-rw-r--r--spec/commands/update_spec.rb1
-rw-r--r--spec/commands/viz_spec.rb1
-rw-r--r--spec/install/allow_offline_install_spec.rb1
-rw-r--r--spec/install/binstubs_spec.rb1
-rw-r--r--spec/install/bundler_spec.rb1
-rw-r--r--spec/install/deploy_spec.rb1
-rw-r--r--spec/install/failure_spec.rb1
-rw-r--r--spec/install/force_spec.rb1
-rw-r--r--spec/install/gemfile/eval_gemfile_spec.rb1
-rw-r--r--spec/install/gemfile/gemspec_spec.rb1
-rw-r--r--spec/install/gemfile/git_spec.rb1
-rw-r--r--spec/install/gemfile/groups_spec.rb1
-rw-r--r--spec/install/gemfile/path_spec.rb1
-rw-r--r--spec/install/gemfile/platform_spec.rb1
-rw-r--r--spec/install/gemfile/ruby_spec.rb1
-rw-r--r--spec/install/gemfile/sources_spec.rb1
-rw-r--r--spec/install/gemfile/specific_platform_spec.rb1
-rw-r--r--spec/install/gemfile_spec.rb1
-rw-r--r--spec/install/gems/compact_index_spec.rb1
-rw-r--r--spec/install/gems/dependency_api_spec.rb1
-rw-r--r--spec/install/gems/env_spec.rb1
-rw-r--r--spec/install/gems/flex_spec.rb1
-rw-r--r--spec/install/gems/mirror_spec.rb1
-rw-r--r--spec/install/gems/native_extensions_spec.rb1
-rw-r--r--spec/install/gems/post_install_spec.rb1
-rw-r--r--spec/install/gems/resolving_spec.rb1
-rw-r--r--spec/install/gems/standalone_spec.rb1
-rw-r--r--spec/install/gems/sudo_spec.rb1
-rw-r--r--spec/install/gems/win32_spec.rb1
-rw-r--r--spec/install/gemspecs_spec.rb1
-rw-r--r--spec/install/git_spec.rb1
-rw-r--r--spec/install/path_spec.rb1
-rw-r--r--spec/install/post_bundle_message_spec.rb1
-rw-r--r--spec/install/prereleases_spec.rb1
-rw-r--r--spec/install/security_policy_spec.rb1
-rw-r--r--spec/install/yanked_spec.rb1
-rw-r--r--spec/lock/git_spec.rb1
-rw-r--r--spec/lock/lockfile_spec.rb1
-rw-r--r--spec/other/bundle_ruby_spec.rb1
-rw-r--r--spec/other/cli_dispatch_spec.rb1
-rw-r--r--spec/other/ext_spec.rb1
-rw-r--r--spec/other/major_deprecation_spec.rb1
-rw-r--r--spec/other/platform_spec.rb1
-rw-r--r--spec/other/ssl_cert_spec.rb1
-rw-r--r--spec/other/trampoline_spec.rb1
-rw-r--r--spec/plugins/command_spec.rb1
-rw-r--r--spec/plugins/hook_spec.rb1
-rw-r--r--spec/plugins/install_spec.rb1
-rw-r--r--spec/plugins/source/example_spec.rb1
-rw-r--r--spec/plugins/source_spec.rb1
-rw-r--r--spec/quality_spec.rb1
-rw-r--r--spec/realworld/dependency_api_spec.rb1
-rw-r--r--spec/realworld/edgecases_spec.rb1
-rw-r--r--spec/realworld/gemfile_source_header_spec.rb1
-rw-r--r--spec/realworld/mirror_probe_spec.rb1
-rw-r--r--spec/realworld/parallel_spec.rb1
-rw-r--r--spec/resolver/basic_spec.rb1
-rw-r--r--spec/resolver/platform_spec.rb1
-rw-r--r--spec/runtime/executable_spec.rb1
-rw-r--r--spec/runtime/gem_tasks_spec.rb1
-rw-r--r--spec/runtime/inline_spec.rb1
-rw-r--r--spec/runtime/load_spec.rb1
-rw-r--r--spec/runtime/platform_spec.rb1
-rw-r--r--spec/runtime/require_spec.rb1
-rw-r--r--spec/runtime/setup_spec.rb1
-rw-r--r--spec/runtime/with_clean_env_spec.rb1
-rw-r--r--spec/update/gems/post_install_spec.rb1
-rw-r--r--spec/update/git_spec.rb1
-rw-r--r--spec/update/path_spec.rb1
147 files changed, 1 insertions, 146 deletions
diff --git a/.rspec b/.rspec
index 19a7e9ad6d..146d615488 100644
--- a/.rspec
+++ b/.rspec
@@ -1,3 +1,4 @@
--format documentation
--color
--warnings
+--require spec_helper
diff --git a/spec/bundler/bundler_spec.rb b/spec/bundler/bundler_spec.rb
index 268c0d99ac..cf8e8fe06f 100644
--- a/spec/bundler/bundler_spec.rb
+++ b/spec/bundler/bundler_spec.rb
@@ -1,6 +1,5 @@
# encoding: utf-8
# frozen_string_literal: true
-require "spec_helper"
require "bundler"
RSpec.describe Bundler do
diff --git a/spec/bundler/cli_spec.rb b/spec/bundler/cli_spec.rb
index ec1d384851..f893e7799f 100644
--- a/spec/bundler/cli_spec.rb
+++ b/spec/bundler/cli_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/cli"
RSpec.describe "bundle executable" do
diff --git a/spec/bundler/compact_index_client/updater_spec.rb b/spec/bundler/compact_index_client/updater_spec.rb
index c1cae31956..d104d6c961 100644
--- a/spec/bundler/compact_index_client/updater_spec.rb
+++ b/spec/bundler/compact_index_client/updater_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "net/http"
require "bundler/compact_index_client"
require "bundler/compact_index_client/updater"
diff --git a/spec/bundler/definition_spec.rb b/spec/bundler/definition_spec.rb
index 73d44a93ab..45fb1f1e2a 100644
--- a/spec/bundler/definition_spec.rb
+++ b/spec/bundler/definition_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/definition"
RSpec.describe Bundler::Definition do
diff --git a/spec/bundler/dsl_spec.rb b/spec/bundler/dsl_spec.rb
index 4f5eb6dc92..ae612eb37e 100644
--- a/spec/bundler/dsl_spec.rb
+++ b/spec/bundler/dsl_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Dsl do
before do
diff --git a/spec/bundler/endpoint_specification_spec.rb b/spec/bundler/endpoint_specification_spec.rb
index 0b8da840d2..c89fae32f1 100644
--- a/spec/bundler/endpoint_specification_spec.rb
+++ b/spec/bundler/endpoint_specification_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::EndpointSpecification do
let(:name) { "foo" }
diff --git a/spec/bundler/env_spec.rb b/spec/bundler/env_spec.rb
index a2afe5dc52..f2c534f596 100644
--- a/spec/bundler/env_spec.rb
+++ b/spec/bundler/env_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/settings"
RSpec.describe Bundler::Env do
diff --git a/spec/bundler/environment_preserver_spec.rb b/spec/bundler/environment_preserver_spec.rb
index 41d2650055..969ff2dec9 100644
--- a/spec/bundler/environment_preserver_spec.rb
+++ b/spec/bundler/environment_preserver_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::EnvironmentPreserver do
let(:preserver) { described_class.new(env, ["foo"]) }
diff --git a/spec/bundler/fetcher/base_spec.rb b/spec/bundler/fetcher/base_spec.rb
index 38b69429bc..df1245d44d 100644
--- a/spec/bundler/fetcher/base_spec.rb
+++ b/spec/bundler/fetcher/base_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Fetcher::Base do
let(:downloader) { double(:downloader) }
diff --git a/spec/bundler/fetcher/compact_index_spec.rb b/spec/bundler/fetcher/compact_index_spec.rb
index e653c1ea43..e624af73e1 100644
--- a/spec/bundler/fetcher/compact_index_spec.rb
+++ b/spec/bundler/fetcher/compact_index_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Fetcher::CompactIndex do
let(:downloader) { double(:downloader) }
diff --git a/spec/bundler/fetcher/dependency_spec.rb b/spec/bundler/fetcher/dependency_spec.rb
index 134ca1bc57..c1b0e7709f 100644
--- a/spec/bundler/fetcher/dependency_spec.rb
+++ b/spec/bundler/fetcher/dependency_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Fetcher::Dependency do
let(:downloader) { double(:downloader) }
diff --git a/spec/bundler/fetcher/downloader_spec.rb b/spec/bundler/fetcher/downloader_spec.rb
index 4dcd94b1b2..c9b4fa662a 100644
--- a/spec/bundler/fetcher/downloader_spec.rb
+++ b/spec/bundler/fetcher/downloader_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Fetcher::Downloader do
let(:connection) { double(:connection) }
diff --git a/spec/bundler/fetcher/index_spec.rb b/spec/bundler/fetcher/index_spec.rb
index b17e0d1727..dd0e118de2 100644
--- a/spec/bundler/fetcher/index_spec.rb
+++ b/spec/bundler/fetcher/index_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Fetcher::Index do
let(:downloader) { nil }
diff --git a/spec/bundler/fetcher_spec.rb b/spec/bundler/fetcher_spec.rb
index 5244fc2b18..949c414034 100644
--- a/spec/bundler/fetcher_spec.rb
+++ b/spec/bundler/fetcher_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/fetcher"
RSpec.describe Bundler::Fetcher do
diff --git a/spec/bundler/friendly_errors_spec.rb b/spec/bundler/friendly_errors_spec.rb
index 19799d5495..d27a4fc2c4 100644
--- a/spec/bundler/friendly_errors_spec.rb
+++ b/spec/bundler/friendly_errors_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler"
require "bundler/friendly_errors"
require "cgi"
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb
index 498ed89447..1a414cc3c6 100644
--- a/spec/bundler/gem_helper_spec.rb
+++ b/spec/bundler/gem_helper_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "rake"
require "bundler/gem_helper"
diff --git a/spec/bundler/gem_version_promoter_spec.rb b/spec/bundler/gem_version_promoter_spec.rb
index c7620e2620..530b370ba1 100644
--- a/spec/bundler/gem_version_promoter_spec.rb
+++ b/spec/bundler/gem_version_promoter_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::GemVersionPromoter do
context "conservative resolver" do
diff --git a/spec/bundler/index_spec.rb b/spec/bundler/index_spec.rb
index 09b09e08fa..0f3f6e4944 100644
--- a/spec/bundler/index_spec.rb
+++ b/spec/bundler/index_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Index do
let(:specs) { [] }
diff --git a/spec/bundler/installer/gem_installer_spec.rb b/spec/bundler/installer/gem_installer_spec.rb
index de5189eecd..754ec537e8 100644
--- a/spec/bundler/installer/gem_installer_spec.rb
+++ b/spec/bundler/installer/gem_installer_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/installer/gem_installer"
RSpec.describe Bundler::GemInstaller do
diff --git a/spec/bundler/installer/parallel_installer_spec.rb b/spec/bundler/installer/parallel_installer_spec.rb
index 7d2c441399..3b50223275 100644
--- a/spec/bundler/installer/parallel_installer_spec.rb
+++ b/spec/bundler/installer/parallel_installer_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/installer/parallel_installer"
RSpec.describe Bundler::ParallelInstaller do
diff --git a/spec/bundler/installer/spec_installation_spec.rb b/spec/bundler/installer/spec_installation_spec.rb
index 1e368ab7c5..811e69bfa1 100644
--- a/spec/bundler/installer/spec_installation_spec.rb
+++ b/spec/bundler/installer/spec_installation_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/installer/parallel_installer"
RSpec.describe Bundler::ParallelInstaller::SpecInstallation do
diff --git a/spec/bundler/lockfile_parser_spec.rb b/spec/bundler/lockfile_parser_spec.rb
index 17bb447194..37be8d9f66 100644
--- a/spec/bundler/lockfile_parser_spec.rb
+++ b/spec/bundler/lockfile_parser_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/lockfile_parser"
RSpec.describe Bundler::LockfileParser do
diff --git a/spec/bundler/mirror_spec.rb b/spec/bundler/mirror_spec.rb
index 9051a80465..f6fff37806 100644
--- a/spec/bundler/mirror_spec.rb
+++ b/spec/bundler/mirror_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/mirror"
RSpec.describe Bundler::Settings::Mirror do
diff --git a/spec/bundler/plugin/api/source_spec.rb b/spec/bundler/plugin/api/source_spec.rb
index 4dbb993b89..0118ff3d19 100644
--- a/spec/bundler/plugin/api/source_spec.rb
+++ b/spec/bundler/plugin/api/source_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::API::Source do
let(:uri) { "uri://to/test" }
diff --git a/spec/bundler/plugin/api_spec.rb b/spec/bundler/plugin/api_spec.rb
index e40b9adb0f..abb55bc253 100644
--- a/spec/bundler/plugin/api_spec.rb
+++ b/spec/bundler/plugin/api_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::API do
context "plugin declarations" do
diff --git a/spec/bundler/plugin/dsl_spec.rb b/spec/bundler/plugin/dsl_spec.rb
index cd15b6ea9d..be23db3bba 100644
--- a/spec/bundler/plugin/dsl_spec.rb
+++ b/spec/bundler/plugin/dsl_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::DSL do
DSL = Bundler::Plugin::DSL
diff --git a/spec/bundler/plugin/index_spec.rb b/spec/bundler/plugin/index_spec.rb
index 24b9a408ff..163b563b2a 100644
--- a/spec/bundler/plugin/index_spec.rb
+++ b/spec/bundler/plugin/index_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::Index do
Index = Bundler::Plugin::Index
diff --git a/spec/bundler/plugin/installer_spec.rb b/spec/bundler/plugin/installer_spec.rb
index e8d5941e33..ece34a784c 100644
--- a/spec/bundler/plugin/installer_spec.rb
+++ b/spec/bundler/plugin/installer_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::Installer do
subject(:installer) { Bundler::Plugin::Installer.new }
diff --git a/spec/bundler/plugin/source_list_spec.rb b/spec/bundler/plugin/source_list_spec.rb
index 86cc4ac4ed..64a1233dd1 100644
--- a/spec/bundler/plugin/source_list_spec.rb
+++ b/spec/bundler/plugin/source_list_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin::SourceList do
SourceList = Bundler::Plugin::SourceList
diff --git a/spec/bundler/plugin_spec.rb b/spec/bundler/plugin_spec.rb
index 5bbb7384c8..9796b580a3 100644
--- a/spec/bundler/plugin_spec.rb
+++ b/spec/bundler/plugin_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Plugin do
Plugin = Bundler::Plugin
diff --git a/spec/bundler/psyched_yaml_spec.rb b/spec/bundler/psyched_yaml_spec.rb
index 18e40d6b5a..5d92e47aab 100644
--- a/spec/bundler/psyched_yaml_spec.rb
+++ b/spec/bundler/psyched_yaml_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/psyched_yaml"
RSpec.describe "Bundler::YamlLibrarySyntaxError" do
diff --git a/spec/bundler/remote_specification_spec.rb b/spec/bundler/remote_specification_spec.rb
index 644814c563..8115e026d8 100644
--- a/spec/bundler/remote_specification_spec.rb
+++ b/spec/bundler/remote_specification_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::RemoteSpecification do
let(:name) { "foo" }
diff --git a/spec/bundler/retry_spec.rb b/spec/bundler/retry_spec.rb
index 525f05d327..b893580d72 100644
--- a/spec/bundler/retry_spec.rb
+++ b/spec/bundler/retry_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Retry do
it "return successful result if no errors" do
diff --git a/spec/bundler/ruby_dsl_spec.rb b/spec/bundler/ruby_dsl_spec.rb
index 3e0ec9d7f0..a23ccd39f9 100644
--- a/spec/bundler/ruby_dsl_spec.rb
+++ b/spec/bundler/ruby_dsl_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/ruby_dsl"
RSpec.describe Bundler::RubyDsl do
diff --git a/spec/bundler/ruby_version_spec.rb b/spec/bundler/ruby_version_spec.rb
index f77ec606fc..9362d0727e 100644
--- a/spec/bundler/ruby_version_spec.rb
+++ b/spec/bundler/ruby_version_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/ruby_version"
RSpec.describe "Bundler::RubyVersion and its subclasses" do
diff --git a/spec/bundler/rubygems_integration_spec.rb b/spec/bundler/rubygems_integration_spec.rb
index 37eb499e38..eed0dcd155 100644
--- a/spec/bundler/rubygems_integration_spec.rb
+++ b/spec/bundler/rubygems_integration_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::RubygemsIntegration do
it "uses the same chdir lock as rubygems", :rubygems => "2.1" do
diff --git a/spec/bundler/settings_spec.rb b/spec/bundler/settings_spec.rb
index ec01827500..1587260c98 100644
--- a/spec/bundler/settings_spec.rb
+++ b/spec/bundler/settings_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/settings"
RSpec.describe Bundler::Settings do
diff --git a/spec/bundler/shared_helpers_spec.rb b/spec/bundler/shared_helpers_spec.rb
index 8bd7215666..8586079974 100644
--- a/spec/bundler/shared_helpers_spec.rb
+++ b/spec/bundler/shared_helpers_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::SharedHelpers do
let(:ext_lock_double) { double(:ext_lock) }
diff --git a/spec/bundler/source/git/git_proxy_spec.rb b/spec/bundler/source/git/git_proxy_spec.rb
index 34fe21e9fb..e7187082ea 100644
--- a/spec/bundler/source/git/git_proxy_spec.rb
+++ b/spec/bundler/source/git/git_proxy_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Source::Git::GitProxy do
let(:uri) { "https://github.com/bundler/bundler.git" }
diff --git a/spec/bundler/source/rubygems/remote_spec.rb b/spec/bundler/source/rubygems/remote_spec.rb
index 54394fc0ca..19e466196f 100644
--- a/spec/bundler/source/rubygems/remote_spec.rb
+++ b/spec/bundler/source/rubygems/remote_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/source/rubygems/remote"
RSpec.describe Bundler::Source::Rubygems::Remote do
diff --git a/spec/bundler/source/rubygems_spec.rb b/spec/bundler/source/rubygems_spec.rb
index b8f9f09c20..7c457a7265 100644
--- a/spec/bundler/source/rubygems_spec.rb
+++ b/spec/bundler/source/rubygems_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Source::Rubygems do
before do
diff --git a/spec/bundler/source_list_spec.rb b/spec/bundler/source_list_spec.rb
index 6a23c8bcbf..fb703806e1 100644
--- a/spec/bundler/source_list_spec.rb
+++ b/spec/bundler/source_list_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::SourceList do
before do
diff --git a/spec/bundler/source_spec.rb b/spec/bundler/source_spec.rb
index 08d1698fcd..9ef8e7e50f 100644
--- a/spec/bundler/source_spec.rb
+++ b/spec/bundler/source_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::Source do
class ExampleSource < Bundler::Source
diff --git a/spec/bundler/spec_set_spec.rb b/spec/bundler/spec_set_spec.rb
index 8f7c27f065..cb5eeebfc8 100644
--- a/spec/bundler/spec_set_spec.rb
+++ b/spec/bundler/spec_set_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::SpecSet do
let(:specs) do
diff --git a/spec/bundler/ssl_certs/certificate_manager_spec.rb b/spec/bundler/ssl_certs/certificate_manager_spec.rb
index 51552f7234..697bf7757b 100644
--- a/spec/bundler/ssl_certs/certificate_manager_spec.rb
+++ b/spec/bundler/ssl_certs/certificate_manager_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/ssl_certs/certificate_manager"
RSpec.describe Bundler::SSLCerts::CertificateManager do
diff --git a/spec/bundler/ui_spec.rb b/spec/bundler/ui_spec.rb
index fc76eb1ee7..6ef8729277 100644
--- a/spec/bundler/ui_spec.rb
+++ b/spec/bundler/ui_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::UI do
describe Bundler::UI::Silent do
diff --git a/spec/bundler/uri_credentials_filter_spec.rb b/spec/bundler/uri_credentials_filter_spec.rb
index 1dd01b4be0..fe52d16306 100644
--- a/spec/bundler/uri_credentials_filter_spec.rb
+++ b/spec/bundler/uri_credentials_filter_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe Bundler::URICredentialsFilter do
subject { described_class }
diff --git a/spec/bundler/version_ranges_spec.rb b/spec/bundler/version_ranges_spec.rb
index f746aa88ad..a69ab2dc0e 100644
--- a/spec/bundler/version_ranges_spec.rb
+++ b/spec/bundler/version_ranges_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/version_ranges"
RSpec.describe Bundler::VersionRanges do
diff --git a/spec/bundler/worker_spec.rb b/spec/bundler/worker_spec.rb
index fbfe6ddab3..9c73faeba9 100644
--- a/spec/bundler/worker_spec.rb
+++ b/spec/bundler/worker_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/worker"
RSpec.describe Bundler::Worker do
diff --git a/spec/bundler/yaml_serializer_spec.rb b/spec/bundler/yaml_serializer_spec.rb
index 361159e0da..d52fc027bc 100644
--- a/spec/bundler/yaml_serializer_spec.rb
+++ b/spec/bundler/yaml_serializer_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/yaml_serializer"
RSpec.describe Bundler::YAMLSerializer do
diff --git a/spec/cache/cache_path_spec.rb b/spec/cache/cache_path_spec.rb
index c9ec4218ae..69d3809964 100644
--- a/spec/cache/cache_path_spec.rb
+++ b/spec/cache/cache_path_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle package" do
before do
diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb
index 7828c87fec..6283299b57 100644
--- a/spec/cache/gems_spec.rb
+++ b/spec/cache/gems_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle cache" do
describe "when there are only gemsources" do
diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb
index 31b3816a3b..d401afd5dd 100644
--- a/spec/cache/git_spec.rb
+++ b/spec/cache/git_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "git base name" do
it "base_name should strip private repo uris" do
diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb
index bbce448759..61e2bcaa0a 100644
--- a/spec/cache/path_spec.rb
+++ b/spec/cache/path_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
%w(cache package).each do |cmd|
RSpec.describe "bundle #{cmd} with path" do
diff --git a/spec/cache/platform_spec.rb b/spec/cache/platform_spec.rb
index ed80c949aa..cb2b610436 100644
--- a/spec/cache/platform_spec.rb
+++ b/spec/cache/platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle cache with multiple platforms" do
before :each do
diff --git a/spec/commands/add_spec.rb b/spec/commands/add_spec.rb
index 4931402c33..36e696da0b 100644
--- a/spec/commands/add_spec.rb
+++ b/spec/commands/add_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle add" do
before :each do
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index cb0999348e..54f6992a39 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle binstubs <gem>" do
context "when the gem exists in the lockfile" do
diff --git a/spec/commands/check_spec.rb b/spec/commands/check_spec.rb
index 532be07c3f..23a7ea137a 100644
--- a/spec/commands/check_spec.rb
+++ b/spec/commands/check_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle check" do
it "returns success when the Gemfile is satisfied" do
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index 8fd4b6fbe8..9323e2d22e 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/commands/clean_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle clean" do
def should_have_gems(*gems)
diff --git a/spec/commands/config_spec.rb b/spec/commands/config_spec.rb
index a3ca696ec1..066ca83c5d 100644
--- a/spec/commands/config_spec.rb
+++ b/spec/commands/config_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe ".bundle/config" do
before :each do
diff --git a/spec/commands/console_spec.rb b/spec/commands/console_spec.rb
index de14b6db5f..a854e6228d 100644
--- a/spec/commands/console_spec.rb
+++ b/spec/commands/console_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle console" do
before :each do
diff --git a/spec/commands/doctor_spec.rb b/spec/commands/doctor_spec.rb
index 7c6e48ce19..c785a64923 100644
--- a/spec/commands/doctor_spec.rb
+++ b/spec/commands/doctor_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "stringio"
require "bundler/cli"
require "bundler/cli/doctor"
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb
index d70fc636c6..b8e7289d6f 100644
--- a/spec/commands/exec_spec.rb
+++ b/spec/commands/exec_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle exec" do
let(:system_gems_to_install) { %w(rack-1.0.0 rack-0.9.1) }
diff --git a/spec/commands/help_spec.rb b/spec/commands/help_spec.rb
index 790d26fda4..a18fae96e8 100644
--- a/spec/commands/help_spec.rb
+++ b/spec/commands/help_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle help" do
# Rubygems 1.4+ no longer load gem plugins so this test is no longer needed
diff --git a/spec/commands/info_spec.rb b/spec/commands/info_spec.rb
index b37de765e4..a08965ec0e 100644
--- a/spec/commands/info_spec.rb
+++ b/spec/commands/info_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle info" do
context "info from specific gem in gemfile" do
diff --git a/spec/commands/init_spec.rb b/spec/commands/init_spec.rb
index 03a46a8bfa..fbe03a78fa 100644
--- a/spec/commands/init_spec.rb
+++ b/spec/commands/init_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle init" do
it "generates a Gemfile" do
diff --git a/spec/commands/inject_spec.rb b/spec/commands/inject_spec.rb
index dd0f1348cc..78f6565d99 100644
--- a/spec/commands/inject_spec.rb
+++ b/spec/commands/inject_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle inject" do
before :each do
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 49eee01910..4ca8330d02 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with gem sources" do
describe "the simple case" do
diff --git a/spec/commands/issue_spec.rb b/spec/commands/issue_spec.rb
index 056ef0f300..04c575130e 100644
--- a/spec/commands/issue_spec.rb
+++ b/spec/commands/issue_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle issue" do
it "exits with a message" do
diff --git a/spec/commands/licenses_spec.rb b/spec/commands/licenses_spec.rb
index 0ee1a46945..144931fb27 100644
--- a/spec/commands/licenses_spec.rb
+++ b/spec/commands/licenses_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle licenses" do
before :each do
diff --git a/spec/commands/lock_spec.rb b/spec/commands/lock_spec.rb
index 52c281a6ae..741c337bd9 100644
--- a/spec/commands/lock_spec.rb
+++ b/spec/commands/lock_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle lock" do
def strip_lockfile(lockfile)
diff --git a/spec/commands/newgem_spec.rb b/spec/commands/newgem_spec.rb
index a3c3a36419..41837c0b6f 100644
--- a/spec/commands/newgem_spec.rb
+++ b/spec/commands/newgem_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle gem" do
def reset!
diff --git a/spec/commands/open_spec.rb b/spec/commands/open_spec.rb
index 6872e859d2..5cab846fb5 100644
--- a/spec/commands/open_spec.rb
+++ b/spec/commands/open_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle open" do
before :each do
diff --git a/spec/commands/outdated_spec.rb b/spec/commands/outdated_spec.rb
index c6b6c9f59e..3aeecd0a84 100644
--- a/spec/commands/outdated_spec.rb
+++ b/spec/commands/outdated_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle outdated" do
before :each do
diff --git a/spec/commands/package_spec.rb b/spec/commands/package_spec.rb
index 86c09db3ca..5ecc215b59 100644
--- a/spec/commands/package_spec.rb
+++ b/spec/commands/package_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle package" do
context "with --gemfile" do
diff --git a/spec/commands/pristine_spec.rb b/spec/commands/pristine_spec.rb
index a6f991bb4a..917946bec0 100644
--- a/spec/commands/pristine_spec.rb
+++ b/spec/commands/pristine_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "fileutils"
RSpec.describe "bundle pristine" do
diff --git a/spec/commands/show_spec.rb b/spec/commands/show_spec.rb
index 45af035959..56d8b50a10 100644
--- a/spec/commands/show_spec.rb
+++ b/spec/commands/show_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle show" do
context "with a standard Gemfile" do
diff --git a/spec/commands/update_spec.rb b/spec/commands/update_spec.rb
index 4992e428da..aa48f907d1 100644
--- a/spec/commands/update_spec.rb
+++ b/spec/commands/update_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle update" do
before :each do
diff --git a/spec/commands/viz_spec.rb b/spec/commands/viz_spec.rb
index 123e7bef62..9ab8215aa1 100644
--- a/spec/commands/viz_spec.rb
+++ b/spec/commands/viz_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle viz", :ruby => "1.9.3", :if => Bundler.which("dot") do
let(:graphviz_lib) do
diff --git a/spec/install/allow_offline_install_spec.rb b/spec/install/allow_offline_install_spec.rb
index 1bca055c9f..6a5ee73bed 100644
--- a/spec/install/allow_offline_install_spec.rb
+++ b/spec/install/allow_offline_install_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with :allow_offline_install" do
before do
diff --git a/spec/install/binstubs_spec.rb b/spec/install/binstubs_spec.rb
index a1a9ab167d..12d5a99d4e 100644
--- a/spec/install/binstubs_spec.rb
+++ b/spec/install/binstubs_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "when system_bindir is set" do
diff --git a/spec/install/bundler_spec.rb b/spec/install/bundler_spec.rb
index c1ce57e60e..5035937ea1 100644
--- a/spec/install/bundler_spec.rb
+++ b/spec/install/bundler_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "with bundler dependencies" do
diff --git a/spec/install/deploy_spec.rb b/spec/install/deploy_spec.rb
index bcbd57bc4f..c6747764b1 100644
--- a/spec/install/deploy_spec.rb
+++ b/spec/install/deploy_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "install with --deployment or --frozen" do
before do
diff --git a/spec/install/failure_spec.rb b/spec/install/failure_spec.rb
index 738b2cf1bd..c4568673f8 100644
--- a/spec/install/failure_spec.rb
+++ b/spec/install/failure_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
context "installing a gem fails" do
diff --git a/spec/install/force_spec.rb b/spec/install/force_spec.rb
index 6d852b3bf1..2ac7f57399 100644
--- a/spec/install/force_spec.rb
+++ b/spec/install/force_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "with --force" do
diff --git a/spec/install/gemfile/eval_gemfile_spec.rb b/spec/install/gemfile/eval_gemfile_spec.rb
index 4f5a109e32..f3f9cb6444 100644
--- a/spec/install/gemfile/eval_gemfile_spec.rb
+++ b/spec/install/gemfile/eval_gemfile_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with gemfile that uses eval_gemfile" do
before do
diff --git a/spec/install/gemfile/gemspec_spec.rb b/spec/install/gemfile/gemspec_spec.rb
index e2534be1ad..cc01359bd8 100644
--- a/spec/install/gemfile/gemspec_spec.rb
+++ b/spec/install/gemfile/gemspec_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install from an existing gemspec" do
before(:each) do
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index a53d96582a..3bc07dea2f 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with git sources" do
describe "when floating on master" do
diff --git a/spec/install/gemfile/groups_spec.rb b/spec/install/gemfile/groups_spec.rb
index a3a5eeefdf..a6b81d0911 100644
--- a/spec/install/gemfile/groups_spec.rb
+++ b/spec/install/gemfile/groups_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with groups" do
describe "installing with no options" do
diff --git a/spec/install/gemfile/path_spec.rb b/spec/install/gemfile/path_spec.rb
index a1c41aebbb..49dda37aee 100644
--- a/spec/install/gemfile/path_spec.rb
+++ b/spec/install/gemfile/path_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with explicit source paths" do
it "fetches gems" do
diff --git a/spec/install/gemfile/platform_spec.rb b/spec/install/gemfile/platform_spec.rb
index c6eaec7ca6..156fa5e7d2 100644
--- a/spec/install/gemfile/platform_spec.rb
+++ b/spec/install/gemfile/platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install across platforms" do
it "maintains the same lockfile if all gems are compatible across platforms" do
diff --git a/spec/install/gemfile/ruby_spec.rb b/spec/install/gemfile/ruby_spec.rb
index b9d9683758..24fe021fa3 100644
--- a/spec/install/gemfile/ruby_spec.rb
+++ b/spec/install/gemfile/ruby_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "ruby requirement" do
def locked_ruby_version
diff --git a/spec/install/gemfile/sources_spec.rb b/spec/install/gemfile/sources_spec.rb
index c5375b4abf..b7f8b3d99e 100644
--- a/spec/install/gemfile/sources_spec.rb
+++ b/spec/install/gemfile/sources_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with gems on multiple sources" do
# repo1 is built automatically before all of the specs run
diff --git a/spec/install/gemfile/specific_platform_spec.rb b/spec/install/gemfile/specific_platform_spec.rb
index cc6c82c0ff..7b534e04f6 100644
--- a/spec/install/gemfile/specific_platform_spec.rb
+++ b/spec/install/gemfile/specific_platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with specific_platform enabled" do
before do
diff --git a/spec/install/gemfile_spec.rb b/spec/install/gemfile_spec.rb
index bc49053081..9262dcc92d 100644
--- a/spec/install/gemfile_spec.rb
+++ b/spec/install/gemfile_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
context "with duplicated gems" do
diff --git a/spec/install/gems/compact_index_spec.rb b/spec/install/gems/compact_index_spec.rb
index 6f35a50226..de2ec40337 100644
--- a/spec/install/gems/compact_index_spec.rb
+++ b/spec/install/gems/compact_index_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "compact index api" do
let(:source_hostname) { "localgemserver.test" }
diff --git a/spec/install/gems/dependency_api_spec.rb b/spec/install/gems/dependency_api_spec.rb
index d2de0d358b..03bbde7d3c 100644
--- a/spec/install/gems/dependency_api_spec.rb
+++ b/spec/install/gems/dependency_api_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "gemcutter's dependency API" do
let(:source_hostname) { "localgemserver.test" }
diff --git a/spec/install/gems/env_spec.rb b/spec/install/gems/env_spec.rb
index 9b1d8e5424..0dccbbfd24 100644
--- a/spec/install/gems/env_spec.rb
+++ b/spec/install/gems/env_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with ENV conditionals" do
describe "when just setting an ENV key as a string" do
diff --git a/spec/install/gems/flex_spec.rb b/spec/install/gems/flex_spec.rb
index 2c2d3c16a1..e80385980e 100644
--- a/spec/install/gems/flex_spec.rb
+++ b/spec/install/gems/flex_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle flex_install" do
it "installs the gems as expected" do
diff --git a/spec/install/gems/mirror_spec.rb b/spec/install/gems/mirror_spec.rb
index 798156fb12..a8516a28c3 100644
--- a/spec/install/gems/mirror_spec.rb
+++ b/spec/install/gems/mirror_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with a mirror configured" do
describe "when the mirror does not match the gem source" do
diff --git a/spec/install/gems/native_extensions_spec.rb b/spec/install/gems/native_extensions_spec.rb
index 7531768b5f..f27e0b10d5 100644
--- a/spec/install/gems/native_extensions_spec.rb
+++ b/spec/install/gems/native_extensions_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "installing a gem with native extensions" do
it "installs" do
diff --git a/spec/install/gems/post_install_spec.rb b/spec/install/gems/post_install_spec.rb
index c3ea3e7c51..c6e348fb65 100644
--- a/spec/install/gems/post_install_spec.rb
+++ b/spec/install/gems/post_install_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
context "with gem sources" do
diff --git a/spec/install/gems/resolving_spec.rb b/spec/install/gems/resolving_spec.rb
index c227993448..1ba54f999e 100644
--- a/spec/install/gems/resolving_spec.rb
+++ b/spec/install/gems/resolving_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with install-time dependencies" do
it "installs gems with implicit rake dependencies" do
diff --git a/spec/install/gems/standalone_spec.rb b/spec/install/gems/standalone_spec.rb
index 496844ae14..58fac1213a 100644
--- a/spec/install/gems/standalone_spec.rb
+++ b/spec/install/gems/standalone_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.shared_examples "bundle install --standalone" do
shared_examples "common functionality" do
diff --git a/spec/install/gems/sudo_spec.rb b/spec/install/gems/sudo_spec.rb
index 13abffc14e..3cbecaa364 100644
--- a/spec/install/gems/sudo_spec.rb
+++ b/spec/install/gems/sudo_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "when using sudo", :sudo => true do
describe "and BUNDLE_PATH is writable" do
diff --git a/spec/install/gems/win32_spec.rb b/spec/install/gems/win32_spec.rb
index cdad9a8821..ad758b94fa 100644
--- a/spec/install/gems/win32_spec.rb
+++ b/spec/install/gems/win32_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install with win32-generated lockfile" do
it "should read lockfile" do
diff --git a/spec/install/gemspecs_spec.rb b/spec/install/gemspecs_spec.rb
index 97eaf149c1..a404a556b7 100644
--- a/spec/install/gemspecs_spec.rb
+++ b/spec/install/gemspecs_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "when a gem has a YAML gemspec" do
diff --git a/spec/install/git_spec.rb b/spec/install/git_spec.rb
index 04f2380b45..cd3b6e6a88 100644
--- a/spec/install/git_spec.rb
+++ b/spec/install/git_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
context "git sources" do
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb
index ad6071d29f..206b59c26e 100644
--- a/spec/install/path_spec.rb
+++ b/spec/install/path_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "with --path" do
diff --git a/spec/install/post_bundle_message_spec.rb b/spec/install/post_bundle_message_spec.rb
index 4453e4190f..8c2a2334c6 100644
--- a/spec/install/post_bundle_message_spec.rb
+++ b/spec/install/post_bundle_message_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "post bundle message" do
before :each do
diff --git a/spec/install/prereleases_spec.rb b/spec/install/prereleases_spec.rb
index 6c32094d90..7af8c3b304 100644
--- a/spec/install/prereleases_spec.rb
+++ b/spec/install/prereleases_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle install" do
describe "when prerelease gems are available" do
diff --git a/spec/install/security_policy_spec.rb b/spec/install/security_policy_spec.rb
index ab531bdad6..d8f2f2157e 100644
--- a/spec/install/security_policy_spec.rb
+++ b/spec/install/security_policy_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "rubygems/security"
# unfortunately, testing signed gems with a provided CA is extremely difficult
diff --git a/spec/install/yanked_spec.rb b/spec/install/yanked_spec.rb
index d42978ce4c..65783e294b 100644
--- a/spec/install/yanked_spec.rb
+++ b/spec/install/yanked_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.context "when installing a bundle that includes yanked gems" do
before(:each) do
diff --git a/spec/lock/git_spec.rb b/spec/lock/git_spec.rb
index b36f61338d..4179a0218a 100644
--- a/spec/lock/git_spec.rb
+++ b/spec/lock/git_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle lock with git gems" do
before :each do
diff --git a/spec/lock/lockfile_spec.rb b/spec/lock/lockfile_spec.rb
index 968c969a55..113e0cdf64 100644
--- a/spec/lock/lockfile_spec.rb
+++ b/spec/lock/lockfile_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "the lockfile format" do
include Bundler::GemHelpers
diff --git a/spec/other/bundle_ruby_spec.rb b/spec/other/bundle_ruby_spec.rb
index 09fa2c223b..e65bbc5e42 100644
--- a/spec/other/bundle_ruby_spec.rb
+++ b/spec/other/bundle_ruby_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle_ruby" do
context "without patchlevel" do
diff --git a/spec/other/cli_dispatch_spec.rb b/spec/other/cli_dispatch_spec.rb
index 8b34a457ef..1983ab474e 100644
--- a/spec/other/cli_dispatch_spec.rb
+++ b/spec/other/cli_dispatch_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle command names" do
it "work when given fully" do
diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb
index 2d6ab941b8..3f6f8b4928 100644
--- a/spec/other/ext_spec.rb
+++ b/spec/other/ext_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Gem::Specification#match_platform" do
it "does not match platforms other than the gem platform" do
diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb
index 465d769538..f7a632bdcf 100644
--- a/spec/other/major_deprecation_spec.rb
+++ b/spec/other/major_deprecation_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "major deprecations" do
let(:warnings) { out } # change to err in 2.0
diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb
index 6adbcef111..3160a5f7e5 100644
--- a/spec/other/platform_spec.rb
+++ b/spec/other/platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle platform" do
context "without flags" do
diff --git a/spec/other/ssl_cert_spec.rb b/spec/other/ssl_cert_spec.rb
index 2de4dfdd0c..4a80a7009d 100644
--- a/spec/other/ssl_cert_spec.rb
+++ b/spec/other/ssl_cert_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "bundler/ssl_certs/certificate_manager"
RSpec.describe "SSL Certificates", :rubygems_master do
diff --git a/spec/other/trampoline_spec.rb b/spec/other/trampoline_spec.rb
index 39de7048c7..11dec3ca7e 100644
--- a/spec/other/trampoline_spec.rb
+++ b/spec/other/trampoline_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundler version trampolining" do
before do
diff --git a/spec/plugins/command_spec.rb b/spec/plugins/command_spec.rb
index 6ad782b758..8275351d19 100644
--- a/spec/plugins/command_spec.rb
+++ b/spec/plugins/command_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "command plugins" do
before do
diff --git a/spec/plugins/hook_spec.rb b/spec/plugins/hook_spec.rb
index 9850d850ac..8bdf61a8ab 100644
--- a/spec/plugins/hook_spec.rb
+++ b/spec/plugins/hook_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "hook plugins" do
before do
diff --git a/spec/plugins/install_spec.rb b/spec/plugins/install_spec.rb
index e2d351181c..f17efe7802 100644
--- a/spec/plugins/install_spec.rb
+++ b/spec/plugins/install_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundler plugin install" do
before do
diff --git a/spec/plugins/source/example_spec.rb b/spec/plugins/source/example_spec.rb
index 2ae34caf73..d898c1f95c 100644
--- a/spec/plugins/source/example_spec.rb
+++ b/spec/plugins/source/example_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "real source plugins" do
context "with a minimal source plugin" do
diff --git a/spec/plugins/source_spec.rb b/spec/plugins/source_spec.rb
index 0448bc409a..543e90eb60 100644
--- a/spec/plugins/source_spec.rb
+++ b/spec/plugins/source_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundler source plugin" do
describe "plugins dsl eval for #source with :type option" do
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
index c2a4ae536b..0fdaf670ab 100644
--- a/spec/quality_spec.rb
+++ b/spec/quality_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
if defined?(Encoding) && Encoding.default_external.name != "UTF-8"
# Poor man's ruby -E UTF-8, since it works on 1.8.7
diff --git a/spec/realworld/dependency_api_spec.rb b/spec/realworld/dependency_api_spec.rb
index 468fa3644c..f57a9be65e 100644
--- a/spec/realworld/dependency_api_spec.rb
+++ b/spec/realworld/dependency_api_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "gemcutter's dependency API", :realworld => true do
context "when Gemcutter API takes too long to respond" do
diff --git a/spec/realworld/edgecases_spec.rb b/spec/realworld/edgecases_spec.rb
index 302fd57cf0..6de20798da 100644
--- a/spec/realworld/edgecases_spec.rb
+++ b/spec/realworld/edgecases_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "real world edgecases", :realworld => true, :sometimes => true do
def rubygems_version(name, requirement)
diff --git a/spec/realworld/gemfile_source_header_spec.rb b/spec/realworld/gemfile_source_header_spec.rb
index ba888d43bd..4cb04a81a6 100644
--- a/spec/realworld/gemfile_source_header_spec.rb
+++ b/spec/realworld/gemfile_source_header_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "thread"
RSpec.describe "fetching dependencies with a mirrored source", :realworld => true, :rubygems => ">= 2.0" do
diff --git a/spec/realworld/mirror_probe_spec.rb b/spec/realworld/mirror_probe_spec.rb
index 93dca0c173..df49cd53ee 100644
--- a/spec/realworld/mirror_probe_spec.rb
+++ b/spec/realworld/mirror_probe_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
require "thread"
RSpec.describe "fetching dependencies with a not available mirror", :realworld => true do
diff --git a/spec/realworld/parallel_spec.rb b/spec/realworld/parallel_spec.rb
index 6950bead19..b8233206e8 100644
--- a/spec/realworld/parallel_spec.rb
+++ b/spec/realworld/parallel_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "parallel", :realworld => true, :sometimes => true do
it "installs" do
diff --git a/spec/resolver/basic_spec.rb b/spec/resolver/basic_spec.rb
index 9e93847ab5..fdccbd6960 100644
--- a/spec/resolver/basic_spec.rb
+++ b/spec/resolver/basic_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Resolving" do
before :each do
diff --git a/spec/resolver/platform_spec.rb b/spec/resolver/platform_spec.rb
index 90d6f637ce..e2af5075cc 100644
--- a/spec/resolver/platform_spec.rb
+++ b/spec/resolver/platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Resolving platform craziness" do
describe "with cross-platform gems" do
diff --git a/spec/runtime/executable_spec.rb b/spec/runtime/executable_spec.rb
index ff27d0b415..5b5dbcdf05 100644
--- a/spec/runtime/executable_spec.rb
+++ b/spec/runtime/executable_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Running bin/* commands" do
before :each do
diff --git a/spec/runtime/gem_tasks_spec.rb b/spec/runtime/gem_tasks_spec.rb
index 422ec45470..884039e425 100644
--- a/spec/runtime/gem_tasks_spec.rb
+++ b/spec/runtime/gem_tasks_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "require 'bundler/gem_tasks'" do
before :each do
diff --git a/spec/runtime/inline_spec.rb b/spec/runtime/inline_spec.rb
index 022b123dc3..3ebcfd8852 100644
--- a/spec/runtime/inline_spec.rb
+++ b/spec/runtime/inline_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundler/inline#gemfile" do
def script(code, options = {})
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index d0e308ed3e..8f38e4fd04 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Bundler.load" do
before :each do
diff --git a/spec/runtime/platform_spec.rb b/spec/runtime/platform_spec.rb
index 4df934e71f..392aba1270 100644
--- a/spec/runtime/platform_spec.rb
+++ b/spec/runtime/platform_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Bundler.setup with multi platform stuff" do
it "raises a friendly error when gems are missing locally" do
diff --git a/spec/runtime/require_spec.rb b/spec/runtime/require_spec.rb
index b68313726b..b9c9d9e506 100644
--- a/spec/runtime/require_spec.rb
+++ b/spec/runtime/require_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Bundler.require" do
before :each do
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index 120aa03d7e..25ac30717d 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Bundler.setup" do
describe "with no arguments" do
diff --git a/spec/runtime/with_clean_env_spec.rb b/spec/runtime/with_clean_env_spec.rb
index b351e86c8b..4903891e4b 100644
--- a/spec/runtime/with_clean_env_spec.rb
+++ b/spec/runtime/with_clean_env_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "Bundler.with_env helpers" do
describe "Bundler.original_env" do
diff --git a/spec/update/gems/post_install_spec.rb b/spec/update/gems/post_install_spec.rb
index 5a4fe7f321..b9cbead53f 100644
--- a/spec/update/gems/post_install_spec.rb
+++ b/spec/update/gems/post_install_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle update" do
let(:config) {}
diff --git a/spec/update/git_spec.rb b/spec/update/git_spec.rb
index 021c8c942b..fedd1b6e7e 100644
--- a/spec/update/git_spec.rb
+++ b/spec/update/git_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "bundle update" do
describe "git sources" do
diff --git a/spec/update/path_spec.rb b/spec/update/path_spec.rb
index 5ac4f7b1fe..38c125e04b 100644
--- a/spec/update/path_spec.rb
+++ b/spec/update/path_spec.rb
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-require "spec_helper"
RSpec.describe "path sources" do
describe "bundle update --source" do