summaryrefslogtreecommitdiffhomepage
path: root/test/ruby/session/config.ru
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2023-11-17 17:28:52 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2023-11-17 17:28:52 +0000
commit0fc5232107e8701dc0d1f2a6008e2dbecb73293b (patch)
tree778cf322e8e43c8e65c6960450992d913b1713f8 /test/ruby/session/config.ru
parent8fbe437ca690d92a6d75b1d5314b5aa3bf8787b9 (diff)
downloadunit-0fc5232107e8701dc0d1f2a6008e2dbecb73293b.tar.gz
unit-0fc5232107e8701dc0d1f2a6008e2dbecb73293b.tar.bz2
Tests: added more expected Ruby features.
Diffstat (limited to '')
-rw-r--r--test/ruby/session/config.ru6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/session/config.ru b/test/ruby/session/config.ru
new file mode 100644
index 00000000..8cea0588
--- /dev/null
+++ b/test/ruby/session/config.ru
@@ -0,0 +1,6 @@
+app = Proc.new do |env|
+ env['rack.session'].clear
+ [200, {}, []]
+end
+
+run app