Commit ddcf8bea825911b8b67f6e4002794fa3fbf371a8
1 parent
9f7261cd
Exists in
master
and in
29 other branches
rails3: fix approve_article tests (incomplete)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/unit/approve_article_test.rb
... | ... | @@ -305,6 +305,7 @@ class ApproveArticleTest < ActiveSupport::TestCase |
305 | 305 | should "the tracker action target be defined as the article on articles'creation in profile" do |
306 | 306 | ActionTracker::Record.delete_all |
307 | 307 | person = fast_create(Person) |
308 | + person.stubs(:notification_emails).returns(['target@example.org']) | |
308 | 309 | |
309 | 310 | a = create(ApproveArticle, :article => article, :target => person, :requestor => profile) |
310 | 311 | a.finish | ... | ... |