summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-08-04 12:28:12 -0700
committerAndre Arko <andre@arko.net>2013-08-04 12:28:12 -0700
commit085496cd5cdadf23f1cfa64ea9e5b8ddfde6baed (patch)
tree146783d27cca1a56d03a294e5c5398124e666ebe /spec
parent19bba67e564bec55930e9fad405d01c7081d1b57 (diff)
parent57d8890bf71081a76cdf3a14bcf4b0e820933ede (diff)
downloadbundler-085496cd5cdadf23f1cfa64ea9e5b8ddfde6baed.tar.gz
Merge pull request #2567 from bundler/make-paralle-fetch-jruby
Enable parallel fetching for JRuby
Diffstat (limited to 'spec')
-rw-r--r--spec/realworld/parallel_install_spec.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/realworld/parallel_install_spec.rb b/spec/realworld/parallel_install_spec.rb
new file mode 100644
index 0000000000..656d029bb3
--- /dev/null
+++ b/spec/realworld/parallel_install_spec.rb
@@ -0,0 +1,19 @@
+require 'spec_helper'
+
+describe "installing dependencies parallely", :realworld => true do
+ it "installs gems parallely" do
+ gemfile <<-G
+ source "https://rubygems.org"
+
+ gem 'activesupport', '~> 3.2.13'
+ gem 'faker', '~> 1.1.2'
+ G
+
+ bundle :install, :jobs => 4
+ bundle "show activesupport"
+ expect(out).to match(/activesupport/)
+
+ bundle "show faker"
+ expect(out).to match(/faker/)
+ end
+end