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/cache | |
parent | b151dcdfe72b23183a916874389d725fe40e1dc5 (diff) | |
download | bundler-c3320f3593b7a33bc2704f82aa711bba4d14cd43.tar.gz |
Disable RSpec monkey patching
Diffstat (limited to 'spec/cache')
-rw-r--r-- | spec/cache/cache_path_spec.rb | 2 | ||||
-rw-r--r-- | spec/cache/gems_spec.rb | 2 | ||||
-rw-r--r-- | spec/cache/git_spec.rb | 4 | ||||
-rw-r--r-- | spec/cache/path_spec.rb | 2 | ||||
-rw-r--r-- | spec/cache/platform_spec.rb | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/spec/cache/cache_path_spec.rb b/spec/cache/cache_path_spec.rb index 594162886a..ec6d6e312a 100644 --- a/spec/cache/cache_path_spec.rb +++ b/spec/cache/cache_path_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle package" do +RSpec.describe "bundle package" do before do gemfile <<-G source "file://#{gem_repo1}" diff --git a/spec/cache/gems_spec.rb b/spec/cache/gems_spec.rb index 19dd16e4e9..7828c87fec 100644 --- a/spec/cache/gems_spec.rb +++ b/spec/cache/gems_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle cache" do +RSpec.describe "bundle cache" do describe "when there are only gemsources" do before :each do gemfile <<-G diff --git a/spec/cache/git_spec.rb b/spec/cache/git_spec.rb index c15ee26c25..b256c8d90f 100644 --- a/spec/cache/git_spec.rb +++ b/spec/cache/git_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "git base name" do +RSpec.describe "git base name" do it "base_name should strip private repo uris" do source = Bundler::Source::Git.new("uri" => "git@github.com:bundler.git") expect(source.send(:base_name)).to eq("bundler") @@ -14,7 +14,7 @@ describe "git base name" do end %w(cache package).each do |cmd| - describe "bundle #{cmd} with git" do + RSpec.describe "bundle #{cmd} with git" do it "copies repository to vendor cache and uses it" do git = build_git "foo" ref = git.ref_for("master", 11) diff --git a/spec/cache/path_spec.rb b/spec/cache/path_spec.rb index 4233b3e88b..bbce448759 100644 --- a/spec/cache/path_spec.rb +++ b/spec/cache/path_spec.rb @@ -2,7 +2,7 @@ require "spec_helper" %w(cache package).each do |cmd| - describe "bundle #{cmd} with path" do + RSpec.describe "bundle #{cmd} with path" do it "is no-op when the path is within the bundle" do build_lib "foo", :path => bundled_app("lib/foo") diff --git a/spec/cache/platform_spec.rb b/spec/cache/platform_spec.rb index 259eff0e15..ed80c949aa 100644 --- a/spec/cache/platform_spec.rb +++ b/spec/cache/platform_spec.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true require "spec_helper" -describe "bundle cache with multiple platforms" do +RSpec.describe "bundle cache with multiple platforms" do before :each do gemfile <<-G source "file://#{gem_repo1}" |