summaryrefslogtreecommitdiffhomepage
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/multipart/config.ru7
-rw-r--r--test/ruby/session/config.ru6
2 files changed, 13 insertions, 0 deletions
diff --git a/test/ruby/multipart/config.ru b/test/ruby/multipart/config.ru
new file mode 100644
index 00000000..9187997c
--- /dev/null
+++ b/test/ruby/multipart/config.ru
@@ -0,0 +1,7 @@
+app = Proc.new do |env|
+ [200, {
+ 'x-multipart-buffer' => env['rack.multipart.buffer_size'].to_s
+ }, []]
+end
+
+run app
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