test/test_server.rb in ruby-openid-2.0.3 vs test/test_server.rb in ruby-openid-2.0.4
- old
+ new
@@ -1782,10 +1782,10 @@
def test_dispatch
monkeycalled = Counter.new()
@server.extend(InstanceDefExtension)
- @server.instance_def(:openid_monkeymode) do
+ @server.instance_def(:openid_monkeymode) do |request|
raise UnhandledError
end
request = Server::OpenIDRequest.new()
request.mode = "monkeymode"