aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/mocks/dispatcher.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2005-07-13 02:12:00 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2005-07-13 02:12:00 +0000
commitf29ce1f35670866cb86faedeabb28a33215a143f (patch)
tree5d561e22accb212f6b50250cffa77eacce967a59 /railties/test/mocks/dispatcher.rb
parentcb0f8fda9652c4d24d04693bdb82cecd3b067e5c (diff)
downloadrails-f29ce1f35670866cb86faedeabb28a33215a143f.tar.gz
rails-f29ce1f35670866cb86faedeabb28a33215a143f.tar.bz2
rails-f29ce1f35670866cb86faedeabb28a33215a143f.zip
r3023@asus: jeremy | 2005-07-12 23:43:39 -0700
Remove superfluous inherited override in Dependencies. r3024@asus: jeremy | 2005-07-12 23:54:28 -0700 Make test the default railties rake target. r3025@asus: jeremy | 2005-07-12 23:55:27 -0700 Encapsulate dispatch call in dispatcher test. r3026@asus: jeremy | 2005-07-12 23:56:14 -0700 Expand dispatcher mock to match full method signature for process. r3027@asus: jeremy | 2005-07-12 23:57:24 -0700 Look for app-specific generators in RAILS_ROOT/generators instead of RAILS_ROOT/script/generators. r3028@asus: jeremy | 2005-07-13 00:00:47 -0700 Update changelog. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/test/mocks/dispatcher.rb')
-rw-r--r--railties/test/mocks/dispatcher.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/mocks/dispatcher.rb b/railties/test/mocks/dispatcher.rb
index 6561a13581..3391f398bf 100644
--- a/railties/test/mocks/dispatcher.rb
+++ b/railties/test/mocks/dispatcher.rb
@@ -4,7 +4,7 @@ class Dispatcher
attr_accessor :raise_exception
attr_accessor :dispatch_hook
- def dispatch(cgi)
+ def dispatch(cgi, session_options = nil, output = $stdout)
dispatch_hook.call(cgi) if dispatch_hook
sleep(time_to_sleep || 0)
raise raise_exception, "Something died" if raise_exception