summaryrefslogtreecommitdiff
path: root/spec/realworld/parallel_install_spec.rb
blob: c9771cdf894a5420a5119201d2a60907eb9c4311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'spec_helper'

describe "installing dependencies parallely", :realworld => true do
  it "installs gems parallely" do
    gemfile <<-G
      source "https://rubygems.org"

      gem 'rails'
    G

    bundle :install, :jobs => 4
    bundle "show rails"
    expect(out).to match(/rails/)

    bundle "show rack"
    expect(out).to match(/rack/)
  end
end