summaryrefslogtreecommitdiff
path: root/spec/realworld
diff options
context:
space:
mode:
Diffstat (limited to 'spec/realworld')
-rw-r--r--spec/realworld/parallel_spec.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/realworld/parallel_spec.rb b/spec/realworld/parallel_spec.rb
index 2ebe4307e2..b0abdc507f 100644
--- a/spec/realworld/parallel_spec.rb
+++ b/spec/realworld/parallel_spec.rb
@@ -66,4 +66,23 @@ describe "parallel", :realworld => true do
bundle "config jobs"
expect(out).to match(/: "4"/)
end
+
+ it "works with --standalone" do
+ gemfile <<-G, :standalone => true
+ source "https://rubygems.org"
+ gem "diff-lcs"
+ G
+
+ bundle :install, :standalone => true, :jobs => 4
+
+ ruby <<-RUBY, :no_lib => true
+ $:.unshift File.expand_path("bundle")
+ require "bundler/setup"
+
+ require "diff/lcs"
+ puts Diff::LCS
+ RUBY
+
+ expect(out).to eq("Diff::LCS")
+ end
end