Tests: added Ruby test with constants.

This commit is contained in:
Andrey Zelenkov
2019-11-13 15:53:56 +03:00
parent bdd96bc9ed
commit defb14f165
2 changed files with 38 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
app = Proc.new do |env|
['200', {
'X-Copyright' => RUBY_COPYRIGHT,
'X-Description' => RUBY_DESCRIPTION,
'X-Engine' => RUBY_ENGINE,
'X-Engine-Version' => RUBY_ENGINE_VERSION,
'X-Patchlevel' => RUBY_PATCHLEVEL.to_s,
'X-Platform' => RUBY_PLATFORM,
'X-Release-Date' => RUBY_RELEASE_DATE,
'X-Revision' => RUBY_REVISION.to_s,
'X-Version' => RUBY_VERSION,
}, []]
end
run app