Commit ab1652bbc0befa4fd0e67b4d332175b5000898ed
1 parent
e4880b6b
Exists in
master
and in
29 other branches
ActionItem18: making routing test for cms pass using a mock
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@396 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
3 additions
and
4 deletions
Show diff stats
test/integration/routing_test.rb
... | ... | @@ -22,10 +22,7 @@ class RoutingTest < ActionController::IntegrationTest |
22 | 22 | end |
23 | 23 | |
24 | 24 | def test_comatose_admin |
25 | - #FIXME: assert_routing cannot find controllers in plugins' | |
26 | - flunk 'FIXME: assert_routing cannot find controllers in plugins' | |
27 | - require File.join(RAILS_ROOT, 'vendor', 'plugins', 'comatose', 'lib', 'comatose', 'admin_controller') | |
28 | - assert_routing('/cms/ze', :controller => 'comatose_admin') | |
25 | + assert_routing('/cms/ze', :profile => 'ze', :controller => 'cms', :action => 'index') | |
29 | 26 | end |
30 | 27 | |
31 | 28 | def test_edit_template | ... | ... |