From 55c006361c2ce051125490f30beaaeddf0c2e81b Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Thu, 23 Jul 2015 13:37:12 -0300 Subject: [PATCH] scrap_test: destroy actiontracker to stabilize #last --- test/unit/scrap_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/scrap_test.rb b/test/unit/scrap_test.rb index a258b2e..ce22777 100644 --- a/test/unit/scrap_test.rb +++ b/test/unit/scrap_test.rb @@ -5,6 +5,7 @@ class ScrapTest < ActiveSupport::TestCase def setup Person.delete_all Scrap.delete_all + ActionTracker::Record.destroy_all end should "have the content" do @@ -265,7 +266,7 @@ class ScrapTest < ActiveSupport::TestCase should 'the action_tracker_target be the community when the scraps has the community as receiver' do scrap = Scrap.new assert_equal scrap, scrap.action_tracker_target - + community = fast_create(Community) scrap.receiver = community assert_equal community, scrap.action_tracker_target -- libgit2 0.21.2