summaryrefslogtreecommitdiff
path: root/test/functional/content_controller_test.rb
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-20 09:11:12 +0100
committerhukl <contact@smyck.org>2009-02-20 09:11:12 +0100
commitcb2e86095e8c604eceda0f5e1f62910a05a6efcb (patch)
tree86a528af582cb4a593b2981839917a35689bf5e4 /test/functional/content_controller_test.rb
parentd579a7ce703773f236a1b7d7f0828a45427b5787 (diff)
fixed tests
Diffstat (limited to 'test/functional/content_controller_test.rb')
-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 93cbbb4..d64de60 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', :page_path => ['foo', 'bar'] }, '/de/foo/bar') 6 assert_recognizes({ :controller => 'content', :action => 'render_page', :locale => 'de', :page_path => ['foo', 'bar'] }, '/de/foo/bar')
7 assert_recognizes({ :controller => 'content', :action => 'render_page', :language => 'en', :page_path => ['home'] }, '/en/home') 7 assert_recognizes({ :controller => 'content', :action => 'render_page', :locale => '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