Instiki 0.16.5
Update to Rails 2.3.2 (the stable Rails 2.3 release). Add audio/speex support Update CHANGELOG Bump version number
This commit is contained in:
parent
801d307405
commit
e2ccdfd812
264 changed files with 4850 additions and 1906 deletions
|
@ -2,7 +2,7 @@ require 'abstract_unit'
|
|||
|
||||
class SessionTest < Test::Unit::TestCase
|
||||
StubApp = lambda { |env|
|
||||
[200, {"Content-Type" => "text/html", "Content-Length" => "13"}, "Hello, World!"]
|
||||
[200, {"Content-Type" => "text/html", "Content-Length" => "13"}, ["Hello, World!"]]
|
||||
}
|
||||
|
||||
def setup
|
||||
|
@ -389,9 +389,9 @@ class MetalTest < ActionController::IntegrationTest
|
|||
class Poller
|
||||
def self.call(env)
|
||||
if env["PATH_INFO"] =~ /^\/success/
|
||||
[200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, "Hello World!"]
|
||||
[200, {"Content-Type" => "text/plain", "Content-Length" => "12"}, ["Hello World!"]]
|
||||
else
|
||||
[404, {"Content-Type" => "text/plain", "Content-Length" => "0"}, '']
|
||||
[404, {"Content-Type" => "text/plain", "Content-Length" => "0"}, []]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue