Commit c18744666c8d5e233ae74a6fdd91ca35cf48d560

Authored by Rafael Martins
1 parent 4ad41785

Small after-merge fixes

* A wrong 'browse' route (replaced with 'search')
* Lack of an 'expect' on the CmsControllerTest
app/views/account/signup.rhtml
... ... @@ -10,7 +10,7 @@
10 10 <p><a href=\"/doc/user/editing-person-info\" target=\"_blank\">Customize your profile</a>. Upload an avatar and let your friends find you easily :)</p>
11 11 <p>Learn the guidelines. Read the <a href=\"/doc\" target=\"_blank\">Documentation</a> for more details on how to use new social network!</p>
12 12 <p><a href=\"/doc/user/invite-contacts\" target=\"_blank\">Invite and find</a> your Gmail, Yahoo and Hotmail contacts!</p>
13   - <p>Start exploring and Have fun!</p>" % [environment.name, url_for(:controller => :browse, :action => :people, :filter => 'more_recent')]) %>
  13 + <p>Start exploring and Have fun!</p>" % [environment.name, url_for(:controller => :search, :action => :people, :filter => 'more_recent')]) %>
14 14 </div>
15 15 <% else %>
16 16 <h1><%= _('Sign up for %s!') % environment.name %></h1>
... ...
test/functional/cms_controller_test.rb
... ... @@ -1520,6 +1520,7 @@ class CmsControllerTest &lt; ActionController::TestCase
1520 1520 plugins.stubs(:map).with(:head_ending).returns([])
1521 1521 plugins.stubs(:enabled_plugins).returns([])
1522 1522  
  1523 + Noosfero::Plugin::Manager.expects(:new).with(@controller).returns(plugins)
1523 1524 get :index, :profile => profile.identifier
1524 1525  
1525 1526 assert_includes @controller.special_article_types, Integer
... ...