diff options
-rw-r--r-- | spec/bundler/plugin_spec.rb | 2 | ||||
-rw-r--r-- | spec/bundler/ui/shell_spec.rb | 2 | ||||
-rw-r--r-- | spec/realworld/dependency_api_spec.rb | 2 | ||||
-rw-r--r-- | spec/realworld/gemfile_source_header_spec.rb | 2 | ||||
-rw-r--r-- | spec/realworld/mirror_probe_spec.rb | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 3 | ||||
-rw-r--r-- | spec/support/helpers.rb | 1 |
7 files changed, 11 insertions, 3 deletions
diff --git a/spec/bundler/plugin_spec.rb b/spec/bundler/plugin_spec.rb index eaa0b80905..e0e2e9afdf 100644 --- a/spec/bundler/plugin_spec.rb +++ b/spec/bundler/plugin_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative "../support/streams" + RSpec.describe Bundler::Plugin do Plugin = Bundler::Plugin diff --git a/spec/bundler/ui/shell_spec.rb b/spec/bundler/ui/shell_spec.rb index 632477096e..536014c6aa 100644 --- a/spec/bundler/ui/shell_spec.rb +++ b/spec/bundler/ui/shell_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative "../../support/streams" + RSpec.describe Bundler::UI::Shell do subject { described_class.new } diff --git a/spec/realworld/dependency_api_spec.rb b/spec/realworld/dependency_api_spec.rb index e7d11419cd..c04003073e 100644 --- a/spec/realworld/dependency_api_spec.rb +++ b/spec/realworld/dependency_api_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative "../support/silent_logger" + RSpec.describe "gemcutter's dependency API", :realworld => true do context "when Gemcutter API takes too long to respond" do before do diff --git a/spec/realworld/gemfile_source_header_spec.rb b/spec/realworld/gemfile_source_header_spec.rb index 382485b8fc..8658c836c3 100644 --- a/spec/realworld/gemfile_source_header_spec.rb +++ b/spec/realworld/gemfile_source_header_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative "../support/silent_logger" + RSpec.describe "fetching dependencies with a mirrored source", :realworld => true do let(:mirror) { "https://server.example.org" } let(:original) { "http://127.0.0.1:#{@port}" } diff --git a/spec/realworld/mirror_probe_spec.rb b/spec/realworld/mirror_probe_spec.rb index 13d1afe124..a0db3cd9ec 100644 --- a/spec/realworld/mirror_probe_spec.rb +++ b/spec/realworld/mirror_probe_spec.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require_relative "../support/silent_logger" + RSpec.describe "fetching dependencies with a not available mirror", :realworld => true do let(:mirror) { @mirror_uri } let(:original) { @server_uri } diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0be63d8b95..f43dd7e44e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -24,11 +24,8 @@ require_relative "support/path" require_relative "support/parallel" require_relative "support/permissions" require_relative "support/platforms" -require_relative "support/silent_logger" require_relative "support/sometimes" -require_relative "support/streams" require_relative "support/sudo" -require_relative "support/the_bundle" $debug = false diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 9acf5cda9f..92444ddd2f 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -3,6 +3,7 @@ require "open3" require_relative "command_execution" +require_relative "the_bundle" module Spec module Helpers |