[rubygems/rubygems] Uncomment and possibly fix spec on JRuby

This was commented out almost 10 years ago, but I think it passes now!

https://github.com/rubygems/rubygems/commit/4a6b1aba3c
This commit is contained in:
David Rodríguez 2024-09-11 17:03:19 +02:00 коммит произвёл git
Родитель efc77d535b
Коммит 364cc95897
1 изменённых файлов: 10 добавлений и 10 удалений

Просмотреть файл

@ -915,16 +915,16 @@ G
should_be_engine_incorrect
end
# it "fails when the engine version doesn't match", :jruby_only do
# gemfile <<-G
# gem "myrack", "0.9.1"
#
# #{engine_version_incorrect}
# G
#
# bundle "exec myrackup"
# should_be_engine_version_incorrect
# end
it "fails when the engine version doesn't match", :jruby_only do
gemfile <<-G
gem "myrack", "0.9.1"
#{engine_version_incorrect}
G
bundle "exec myrackup", raise_on_error: false
should_be_engine_version_incorrect
end
it "fails when patchlevel doesn't match" do
gemfile <<-G