Commit 319e583e5b725b3d4ed5898d1600042e3baad951

Authored by Antonio Terceiro
1 parent 7ba54a9d

fix fragile test

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
test/unit/article_test.rb
@@ -1077,6 +1077,8 @@ class ArticleTest < ActiveSupport::TestCase @@ -1077,6 +1077,8 @@ class ArticleTest < ActiveSupport::TestCase
1077 end 1077 end
1078 1078
1079 should 'create the notification to organization and all organization members' do 1079 should 'create the notification to organization and all organization members' do
  1080 + ActionTracker::Record.delete_all
  1081 +
1080 community = fast_create(Community) 1082 community = fast_create(Community)
1081 member_1 = Person.first 1083 member_1 = Person.first
1082 community.add_member(member_1) 1084 community.add_member(member_1)