Commit 31d88a94b1311c2c0e687a2af0185588cdb6fac9
1 parent
a71e7ba1
Exists in
master
and in
29 other branches
ActionItem628: fixing test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/unit/task_mailer_test.rb
| @@ -93,6 +93,7 @@ class TaskMailerTest < Test::Unit::TestCase | @@ -93,6 +93,7 @@ class TaskMailerTest < Test::Unit::TestCase | ||
| 93 | target = mock() | 93 | target = mock() |
| 94 | target.expects(:notification_emails).returns(['target@example.com']) | 94 | target.expects(:notification_emails).returns(['target@example.com']) |
| 95 | target.expects(:name).returns('Target') | 95 | target.expects(:name).returns('Target') |
| 96 | + target.expects(:url).returns({:host => 'my.domain.com', :profile => 'testprofile'}) | ||
| 96 | 97 | ||
| 97 | environment = mock() | 98 | environment = mock() |
| 98 | environment.expects(:contact_email).returns('sender@example.com') | 99 | environment.expects(:contact_email).returns('sender@example.com') |