Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab9b8c2

Browse files
committed
Added missing caller for shared_example
1 parent 1413086 commit ab9b8c2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

bundler/spec/commands/newgem_spec.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1604,6 +1604,24 @@ def create_temporary_dir(dir)
16041604
end
16051605
end
16061606

1607+
context "testing --bundle option against git and bundle config settings" do
1608+
context "with bundle option in bundle config settings set to true" do
1609+
before do
1610+
global_config "BUNDLE_GEM__BUNDLE" => "true"
1611+
end
1612+
it_behaves_like "--bundle flag"
1613+
it_behaves_like "--no-bundle flag"
1614+
end
1615+
1616+
context "with bundle option in bundle config settings set to false" do
1617+
before do
1618+
global_config "BUNDLE_GEM__BUNDLE" => "false"
1619+
end
1620+
it_behaves_like "--bundle flag"
1621+
it_behaves_like "--no-bundle flag"
1622+
end
1623+
end
1624+
16071625
context "testing --github-username option against git and bundle config settings" do
16081626
context "without git config set" do
16091627
before do

0 commit comments

Comments
 (0)