1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

Fix check for whether falcon is included

* This is the same check as in lib/sinatra/base.rb
This commit is contained in:
Benoit Daloze 2022-07-20 12:18:47 +02:00
parent df1633efb2
commit f1ee0a3a67

View file

@ -489,8 +489,8 @@ class SettingsTest < Minitest::Test
assert @application.server.include?('puma') assert @application.server.include?('puma')
end end
it 'includes falcon on mruby' do it 'includes falcon on non-jruby' do
if RUBY_ENGINE == 'ruby' if RUBY_ENGINE != 'jruby'
assert @base.server.include?('falcon') assert @base.server.include?('falcon')
assert @application.server.include?('falcon') assert @application.server.include?('falcon')
else else