diff options
Diffstat (limited to 't/simple-http_ActorSpawn.ru')
-rw-r--r-- | t/simple-http_ActorSpawn.ru | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/t/simple-http_ActorSpawn.ru b/t/simple-http_ActorSpawn.ru new file mode 100644 index 0000000..da17d5d --- /dev/null +++ b/t/simple-http_ActorSpawn.ru @@ -0,0 +1,9 @@ +use Rack::ContentLength +use Rack::ContentType +run lambda { |env| + if env['rack.multithread'] && env['rainbows.model'] == :ActorSpawn + [ 200, {}, [ Actor.current.inspect << "\n" ] ] + else + raise "rack.multithread is not true" + end +} |