diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2017-01-15 12:57:54 -0600 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2017-01-15 12:57:54 -0600 |
commit | c3320f3593b7a33bc2704f82aa711bba4d14cd43 (patch) | |
tree | 7aa6701c303b2e10b9a9db75cc830e0e393d867e /spec/other | |
parent | b151dcdfe72b23183a916874389d725fe40e1dc5 (diff) | |
download | bundler-c3320f3593b7a33bc2704f82aa711bba4d14cd43.tar.gz |
Disable RSpec monkey patching
Diffstat (limited to 'spec/other')
-rw-r--r-- | spec/other/bundle_ruby_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/cli_dispatch_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/ext_spec.rb | 6 | ||||
-rw-r--r-- | spec/other/major_deprecation_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/platform_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/ssl_cert_spec.rb | 2 | ||||
-rw-r--r-- | spec/other/trampoline_spec.rb | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/spec/other/bundle_ruby_spec.rb b/spec/other/bundle_ruby_spec.rb index 4b2ebf4cfd..09fa2c223b 100644 --- a/spec/other/bundle_ruby_spec.rb +++ b/spec/other/bundle_ruby_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle_ruby" do +RSpec.describe "bundle_ruby" do context "without patchlevel" do it "returns the ruby version" do gemfile <<-G diff --git a/spec/other/cli_dispatch_spec.rb b/spec/other/cli_dispatch_spec.rb index 05dac51559..8b34a457ef 100644 --- a/spec/other/cli_dispatch_spec.rb +++ b/spec/other/cli_dispatch_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle command names" do +RSpec.describe "bundle command names" do it "work when given fully" do bundle "install" expect(err).to lack_errors diff --git a/spec/other/ext_spec.rb b/spec/other/ext_spec.rb index 7e2e712827..9aed37adfd 100644 --- a/spec/other/ext_spec.rb +++ b/spec/other/ext_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "Gem::Specification#match_platform" do +RSpec.describe "Gem::Specification#match_platform" do it "does not match platforms other than the gem platform" do darwin = gem "lol", "1.0", "platform_specific-1.0-x86-darwin-10" expect(darwin.match_platform(pl("java"))).to eq(false) @@ -16,7 +16,7 @@ describe "Gem::Specification#match_platform" do end end -describe "Bundler::GemHelpers#generic" do +RSpec.describe "Bundler::GemHelpers#generic" do include Bundler::GemHelpers it "converts non-windows platforms into ruby" do @@ -47,7 +47,7 @@ describe "Bundler::GemHelpers#generic" do end end -describe "Gem::SourceIndex#refresh!" do +RSpec.describe "Gem::SourceIndex#refresh!" do rubygems_1_7 = Gem::Version.new(Gem::VERSION) >= Gem::Version.new("1.7.0") before do diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb index 3fc3d06d2a..1ef17bfa1a 100644 --- a/spec/other/major_deprecation_spec.rb +++ b/spec/other/major_deprecation_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "major deprecations" do +RSpec.describe "major deprecations" do let(:warnings) { out } # change to err in 2.0 context "in a .99 version" do diff --git a/spec/other/platform_spec.rb b/spec/other/platform_spec.rb index 7aa0d0f8ea..6adbcef111 100644 --- a/spec/other/platform_spec.rb +++ b/spec/other/platform_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle platform" do +RSpec.describe "bundle platform" do context "without flags" do it "returns all the output" do gemfile <<-G diff --git a/spec/other/ssl_cert_spec.rb b/spec/other/ssl_cert_spec.rb index e1a134c919..2de4dfdd0c 100644 --- a/spec/other/ssl_cert_spec.rb +++ b/spec/other/ssl_cert_spec.rb @@ -2,7 +2,7 @@ require "spec_helper" require "bundler/ssl_certs/certificate_manager" -describe "SSL Certificates", :rubygems_master do +RSpec.describe "SSL Certificates", :rubygems_master do hosts = %w( rubygems.org index.rubygems.org diff --git a/spec/other/trampoline_spec.rb b/spec/other/trampoline_spec.rb index 88e0302f00..39de7048c7 100644 --- a/spec/other/trampoline_spec.rb +++ b/spec/other/trampoline_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundler version trampolining" do +RSpec.describe "bundler version trampolining" do before do ENV["BUNDLE_TRAMPOLINE_DISABLE"] = nil ENV["BUNDLE_TRAMPOLINE_FORCE"] = "true" |