diff options
| author | Yusuke Nakamura <yusuke1994525@gmail.com> | 2022-01-10 21:51:51 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2022-01-20 01:04:52 +0900 |
| commit | 4e955b2e379a550cebd27e5d66fd5bcd98c70cf7 (patch) | |
| tree | b71b8a0eca3e317b1ce1faae2c0deef42e5bc990 /spec/ruby | |
| parent | 5c4734d1eff9322f9f21d9c21577978ab6e0d044 (diff) | |
[rubygems/rubygems] Create minitest file to underscored path in "bundle gem" command
...with dashed gem name
In "bundle gem" command with dashed name gem (e.g. foo-bar) generates
`test/test_foo/bar.rb`, but this file contains undefined class `TestFoo`
and moreover, does not include in "bundle exec rake test" target.
Therefore, intentially the first test after gem created is fail, but in
case of gem name contains dash character is not.
The change doings...
(when "bundle gem foo-bar" called)
* create `test/test_foo_bar.rb`
* define `TestFooBar` class in `test/test_foo_bar.rb`
https://github.com/rubygems/rubygems/commit/5d9a69fc0f
Diffstat (limited to 'spec/ruby')
0 files changed, 0 insertions, 0 deletions
