From c774d83b275550953483b4eaff405c36c63f6bf5 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Fri, 23 May 2008 14:03:04 +0000 Subject: [PATCH] ActionItem355: fixing profile_helper tests --- test/unit/profile_helper_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/profile_helper_test.rb b/test/unit/profile_helper_test.rb index 9797e47..b48b6b2 100644 --- a/test/unit/profile_helper_test.rb +++ b/test/unit/profile_helper_test.rb @@ -22,6 +22,7 @@ class ProfileHelperTest < Test::Unit::TestCase helper.expects(:content_tag).returns('').at_least_once + helper.expects(:_).at_least_once helper.expects(:_).with('edit your information').returns('edit your information') helper.expects(:button).with(:edit, 'edit your information', :controller => 'profile_editor', :action => 'edit').returns("BUTTON") @@ -35,7 +36,7 @@ class ProfileHelperTest < Test::Unit::TestCase helper.expects(:instance_eval).with(myproc) - helper.expects(:_) + helper.expects(:_).at_least_once helper.expects(:button).returns('') helper.display_profile_info(profile) -- libgit2 0.21.2