We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 949f125 commit 4e3ef1dCopy full SHA for 4e3ef1d
1 file changed
spec/bundler/commands/newgem_spec.rb
@@ -1611,6 +1611,11 @@ def create_temporary_dir(dir)
1611
end
1612
it_behaves_like "--bundle flag"
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
1619
1620
1621
context "with bundle option in bundle config settings set to false" do
@@ -1619,6 +1624,11 @@ def create_temporary_dir(dir)
1624
1625
1626
1627
1628
+ it "does not run bundle install" do
1629
1630
+ expect(out).to_not include("Running bundle install in the new gem directory.")
1631
1622
1632
1623
1633
1634
0 commit comments