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:
parent
df1633efb2
commit
f1ee0a3a67
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue