summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-02-23 22:11:07 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-20 14:22:33 +0100
commit15354c3c7f988677d9e04b00d7a8ebd4069afd04 (patch)
tree4c4a0af869c63f0285c1d77b1ee479948a2ace91 /spec
parentc1f2942c7553b488e85bec24d9f0d80218308247 (diff)
downloadbundler-15354c3c7f988677d9e04b00d7a8ebd4069afd04.tar.gz
Remove unnecessary RSpec activation
We are inside the RSpec helper file, so RSpec must be already activated at this point.
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 92de792b1d..81c222ea6f 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -3,19 +3,6 @@
$:.unshift File.expand_path("..", __FILE__)
$:.unshift File.expand_path("../../lib", __FILE__)
-require "rubygems"
-
-begin
- require File.expand_path("../support/path.rb", __FILE__)
- spec = Gem::Specification.load(Spec::Path.gemspec.to_s)
- rspec = spec.dependencies.find {|d| d.name == "rspec" }
- gem "rspec", rspec.requirement.to_s
- require "rspec"
- require "diff/lcs"
-rescue LoadError
- abort "Run rake spec:deps to install development dependencies"
-end
-
require "bundler/psyched_yaml"
require "bundler/vendored_fileutils"
require "uri"