Commit 028bda576c9ac452c7376e482d60a7a6441973ed
1 parent
c156d9cc
Exists in
master
and in
22 other branches
ActionItem280: fix profile helper call_blocks test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1746 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
test/unit/profile_helper_test.rb
| @@ -51,6 +51,9 @@ class ProfileHelperTest < Test::Unit::TestCase | @@ -51,6 +51,9 @@ class ProfileHelperTest < Test::Unit::TestCase | ||
| 51 | 51 | ||
| 52 | helper.expects(:instance_eval).with(myproc) | 52 | helper.expects(:instance_eval).with(myproc) |
| 53 | 53 | ||
| 54 | + helper.expects(:_) | ||
| 55 | + helper.expects(:button).returns('') | ||
| 56 | + | ||
| 54 | helper.display_profile_info(profile) | 57 | helper.display_profile_info(profile) |
| 55 | end | 58 | end |
| 56 | 59 |