Commit 0aa106df67f34cef17202e015941b32ad489f507
1 parent
c9fe94b9
Exists in
master
and in
29 other branches
ActionItem280: fixing test to match code changed without reviewing the
tests (grrr) git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1688 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/unit/members_block_test.rb
@@ -16,8 +16,8 @@ class MembersBlockTest < Test::Unit::TestCase | @@ -16,8 +16,8 @@ class MembersBlockTest < Test::Unit::TestCase | ||
16 | block.box = profile.boxes.first | 16 | block.box = profile.boxes.first |
17 | block.save! | 17 | block.save! |
18 | 18 | ||
19 | - expects(:_).with('All members').returns('All members') | ||
20 | - expects(:link_to).with('All members' , :profile => 'mytestuser', :controller => 'profile', :action => 'members').returns('link-to-members') | 19 | + expects(:_).with('View all').returns('View all') |
20 | + expects(:link_to).with('View all' , :profile => 'mytestuser', :controller => 'profile', :action => 'members').returns('link-to-members') | ||
21 | 21 | ||
22 | assert_equal 'link-to-members', instance_eval(&block.footer) | 22 | assert_equal 'link-to-members', instance_eval(&block.footer) |
23 | end | 23 | end |