summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-05-10 01:53:23 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-05-10 01:53:23 +0100
commit1bffba6d1e798825a00e0b754a62b5b3961a7363 (patch)
tree4195c81c4ce6294a8edd5d80f42775f21635495b /test/test_ruby_application.py
parent0032543fa65f454c471c968998190b027c1ff270 (diff)
downloadunit-1bffba6d1e798825a00e0b754a62b5b3961a7363.tar.gz
unit-1bffba6d1e798825a00e0b754a62b5b3961a7363.tar.bz2
Tests: added test for "SCRIPT_NAME" variable in Ruby.
Diffstat (limited to 'test/test_ruby_application.py')
-rw-r--r--test/test_ruby_application.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/test_ruby_application.py b/test/test_ruby_application.py
index 319dfb4f..c2931e65 100644
--- a/test/test_ruby_application.py
+++ b/test/test_ruby_application.py
@@ -44,6 +44,7 @@ class TestRubyApplication(TestApplicationRuby):
'Request-Method': 'POST',
'Request-Uri': '/',
'Http-Host': 'localhost',
+ 'Script-Name': 'config.ru',
'Server-Protocol': 'HTTP/1.1',
'Custom-Header': 'blah',
'Rack-Version': '13',