aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-13 17:28:44 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-13 17:28:44 -0500
commit213c920e4f0b1efeaccc4377dfebb41a5873efcf (patch)
tree40d4a620dd9abdf6c31cbda36e4180ac53a30698 /actionpack/test
parent67eb892e941e49c5059cd5b80443a8f2913f3f8c (diff)
downloadrails-213c920e4f0b1efeaccc4377dfebb41a5873efcf.tar.gz
rails-213c920e4f0b1efeaccc4377dfebb41a5873efcf.tar.bz2
rails-213c920e4f0b1efeaccc4377dfebb41a5873efcf.zip
Define weblog controller for url helper test
Diffstat (limited to 'actionpack/test')
-rw-r--r--actionpack/test/lib/controller/fake_controllers.rb1
-rw-r--r--actionpack/test/template/url_helper_test.rb1
2 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/lib/controller/fake_controllers.rb b/actionpack/test/lib/controller/fake_controllers.rb
index 22729188a2..5dcca2e148 100644
--- a/actionpack/test/lib/controller/fake_controllers.rb
+++ b/actionpack/test/lib/controller/fake_controllers.rb
@@ -17,6 +17,7 @@ class CController < ActionController::Base; end
class HiController < ActionController::Base; end
class BraveController < ActionController::Base; end
class ImageController < ActionController::Base; end
+class WeblogController < ActionController::Base; end
# For speed test
class SpeedController < ActionController::Base; end
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 44f1925653..447d520ef1 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -1,5 +1,6 @@
# encoding: utf-8
require 'abstract_unit'
+require 'controller/fake_controllers'
RequestMock = Struct.new("Request", :request_uri, :protocol, :host_with_port, :env)