diff options
author | Yusuke Nakamura <yusuke1994525@gmail.com> | 2022-01-19 17:52:27 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-01-20 01:04:53 +0900 |
commit | 7353f950c3229a4b24482af99d589ea56982a285 (patch) | |
tree | ad29a07d643f6be69b773edb074e60d68765f0c9 /spec/bundler | |
parent | 26e0450ba9296540e044df5fd91c8856919d4a6c (diff) | |
download | ruby-7353f950c3229a4b24482af99d589ea56982a285.tar.gz |
[rubygems/rubygems] Change generated namespaced test class name in minitest
* `foo` => `TestFoo`
* `foo_bar` => `TestFooBar`
* `foo-bar` => `Foo::TestBar`
https://github.com/rubygems/rubygems/commit/353cdd61c3
Diffstat (limited to 'spec/bundler')
-rw-r--r-- | spec/bundler/commands/newgem_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/commands/newgem_spec.rb b/spec/bundler/commands/newgem_spec.rb index 49ab4a366d..55a04b69c5 100644 --- a/spec/bundler/commands/newgem_spec.rb +++ b/spec/bundler/commands/newgem_spec.rb @@ -1369,7 +1369,7 @@ RSpec.describe "bundle gem" do let(:minitest_test_file_path) { "test/test/test_gem.rb" } - let(:minitest_test_class_name) { "class TestTestGem < Minitest::Test" } + let(:minitest_test_class_name) { "class Test::TestGem < Minitest::Test" } it "nests constants so they work" do bundle "gem #{gem_name}" |