File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -1611,6 +1611,11 @@ def create_temporary_dir(dir)
1611
1611
end
1612
1612
it_behaves_like "--bundle flag"
1613
1613
it_behaves_like "--no-bundle flag"
1614
+
1615
+ it "runs bundle install" do
1616
+ bundle "gem #{ gem_name } "
1617
+ expect ( out ) . to include ( "Running bundle install in the new gem directory." )
1618
+ end
1614
1619
end
1615
1620
1616
1621
context "with bundle option in bundle config settings set to false" do
@@ -1619,6 +1624,11 @@ def create_temporary_dir(dir)
1619
1624
end
1620
1625
it_behaves_like "--bundle flag"
1621
1626
it_behaves_like "--no-bundle flag"
1627
+
1628
+ it "does not run bundle install" do
1629
+ bundle "gem #{ gem_name } "
1630
+ expect ( out ) . to_not include ( "Running bundle install in the new gem directory." )
1631
+ end
1622
1632
end
1623
1633
end
1624
1634
You can’t perform that action at this time.
0 commit comments