From ddcf8bea825911b8b67f6e4002794fa3fbf371a8 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Wed, 9 Oct 2013 19:36:23 +0000 Subject: [PATCH] rails3: fix approve_article tests (incomplete) --- test/unit/approve_article_test.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/test/unit/approve_article_test.rb b/test/unit/approve_article_test.rb index 18df0dd..08b9221 100644 --- a/test/unit/approve_article_test.rb +++ b/test/unit/approve_article_test.rb @@ -305,6 +305,7 @@ class ApproveArticleTest < ActiveSupport::TestCase should "the tracker action target be defined as the article on articles'creation in profile" do ActionTracker::Record.delete_all person = fast_create(Person) + person.stubs(:notification_emails).returns(['target@example.org']) a = create(ApproveArticle, :article => article, :target => person, :requestor => profile) a.finish -- libgit2 0.21.2