Commit c18744666c8d5e233ae74a6fdd91ca35cf48d560
1 parent
4ad41785
Exists in
master
and in
29 other branches
Small after-merge fixes
* A wrong 'browse' route (replaced with 'search') * Lack of an 'expect' on the CmsControllerTest
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/views/account/signup.rhtml
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
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> | 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 | <p>Learn the guidelines. Read the <a href=\"/doc\" target=\"_blank\">Documentation</a> for more details on how to use new social network!</p> | 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 | <p><a href=\"/doc/user/invite-contacts\" target=\"_blank\">Invite and find</a> your Gmail, Yahoo and Hotmail contacts!</p> | 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 | </div> | 14 | </div> |
15 | <% else %> | 15 | <% else %> |
16 | <h1><%= _('Sign up for %s!') % environment.name %></h1> | 16 | <h1><%= _('Sign up for %s!') % environment.name %></h1> |
test/functional/cms_controller_test.rb
@@ -1520,6 +1520,7 @@ class CmsControllerTest < ActionController::TestCase | @@ -1520,6 +1520,7 @@ class CmsControllerTest < ActionController::TestCase | ||
1520 | plugins.stubs(:map).with(:head_ending).returns([]) | 1520 | plugins.stubs(:map).with(:head_ending).returns([]) |
1521 | plugins.stubs(:enabled_plugins).returns([]) | 1521 | plugins.stubs(:enabled_plugins).returns([]) |
1522 | 1522 | ||
1523 | + Noosfero::Plugin::Manager.expects(:new).with(@controller).returns(plugins) | ||
1523 | get :index, :profile => profile.identifier | 1524 | get :index, :profile => profile.identifier |
1524 | 1525 | ||
1525 | assert_includes @controller.special_article_types, Integer | 1526 | assert_includes @controller.special_article_types, Integer |