summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorhukl <hukl@eight.local>2009-02-01 14:40:01 +0100
committerhukl <hukl@eight.local>2009-02-01 14:40:01 +0100
commitd1f7fa66043bba01aea105637d21017124d061fd (patch)
treeb4a0ec18347d58f007d4c22b65080f90585344b6 /test
parent28270cfda18a18841615c57d117cbea96db1c6ec (diff)
fixed routing issues
Diffstat (limited to 'test')
-rw-r--r--test/functional/content_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/content_controller_test.rb b/test/functional/content_controller_test.rb
index 76a9b24..baf46b9 100644
--- a/test/functional/content_controller_test.rb
+++ b/test/functional/content_controller_test.rb
@@ -3,8 +3,8 @@ require 'test_helper'
3class ContentControllerTest < ActionController::TestCase 3class ContentControllerTest < ActionController::TestCase
4 4
5 def test_custom_page_route 5 def test_custom_page_route
6 assert_recognizes({ :controller => 'content', :action => 'render_page', :language => 'de', :pagepath => ['foo', 'bar'] }, '/de/foo/bar') 6 assert_recognizes({ :controller => 'content', :action => 'render_page', :language => 'de', :page_path => ['foo', 'bar'] }, '/de/foo/bar')
7 assert_recognizes({ :controller => 'content', :action => 'render_page', :language => 'en', :pagepath => ['home'] }, '/en/home') 7 assert_recognizes({ :controller => 'content', :action => 'render_page', :language => 'en', :page_path => ['home'] }, '/en/home')
8 end 8 end
9 9
10 def test_render_404_when_no_page_was_found 10 def test_render_404_when_no_page_was_found