[rubygems/rubygems] Actually run "generating a gem" shared examples for the more standard name

They were only being run for "edge case" names, yet it tests all kind of
things about generation.

3e9d805eea
This commit is contained in:
David Rodríguez 2025-07-02 18:09:25 +02:00 committed by Hiroshi SHIBATA
parent 8a802f7e4e
commit e7f11ecc2b

View file

@ -37,6 +37,8 @@ RSpec.describe "bundle gem" do
let(:require_path) { "mygem" }
let(:require_relative_path) { "mygem" }
let(:minitest_test_file_path) { "test/test_mygem.rb" }
let(:minitest_test_class_name) { "class TestMygem < Minitest::Test" }
@ -1500,6 +1502,8 @@ RSpec.describe "bundle gem" do
end
end
include_examples "generating a gem"
context "testing --mit and --coc options against bundle config settings" do
let(:gem_name) { "test-gem" }